Multiple Classes

"There are too many people and too few human beings."
—Robert Zend    


In order to truly understand object-oriented programming, we must define our own classes and derive objects from them. In the previous chapter you created objects from a variety of string-related classes, accessing their methods and attributes. In this chapter you will learn the fundamentals of making your own classes, using inheritance and interfaces, and you will learn about the structure of classes in the Java language.


If you are not sure about classes in general, you may want to refresh your memory by returning to the beginning of where we discussed some important aspects of classes in relation to their members and constructors and objects in general.