Reading an XML File

As you have discovered during the first 20 hours, 13 minutes, and 52 seconds of this book, a wealth of Java code is already written for you to greatly simplify your job. Within the Java class library, you can adopt Swing classes for user interface programming, the java.io classes for file access, java.awt.event to take user input, and other classes to do as little programming of your own as possible.

A vital skill to develop in your Java programming is to learn where to look for Java classes and packages you can employ in your own projects. Reusing a well-developed class library is considerably easier than coding your own classes from scratch.

The Java team at Oracle isn’t the only developer producing terrific Java classes, ...

Get Sams Teach Yourself Java™ in 24 Hours, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.