Reading an XML File

As you have discovered during the first 20 hours, 13 minutes, and 52 seconds of this book, there's a wealth of Java code that's already written for you.

This code simplifies your job greatly. Within the Java 2 class library, you can adopt Swing classes for graphical user interface programming, the java.io classes for file access, java.awt.event to take user input, and take on other classes to do as little actual coding of your own as absolutely necessary.

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 simpler than coding your own classes from scratch.

Sun Microsystems isn't ...

Get SAMS Teach Yourself Programming with Java™ in 24 Hours, FOURTH 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.