11. Another look at classes and Implementing Classes
Another look at classes
The key to understanding and using Java, is the class. Almost anything in Java is an instance of a class, and if you have a good understanding of classes and their variables and methods, you will find Java much easier to subdue.
This section takes another look at classes, and works through the process of building three new dependent classes. In this process we learn about class dependency, and how to use one class to help instantiate a different but related class. After that, we will learn how to make our classes more flexible by getting live input from the user at the console, and then by using the Java swing package for the same purpose.