Chapter 9. CLASSES

     

DO OR DIE:

  • Keep your cool

  • Act natural

  • Maintain


So far we have looked at setting up your environment, and using primitives, operators, and statements. We've gotten the necessary groundwork out of the way, and now we're free to explore classes. It's been, well, I admit it, a little bit lame. I'd like to make it up to you.

From here on out, things will be a lot more interesting, exciting, and new. I promise. It will be like when Abbott and Costello met the Werewolf, or when the Harlem Globetrotters came into ScoobyDoo ”just an unbeatable entertainment combo. So please turn your attention to the magnificent JumboTron. A world awaits. The Java class .

The class is the fundamental unit of expression in Java. In this topic, we will learn how to make classes, what they are for, how to modify them to suit your evil purposes, and how to design them.



Java Garage
Java Garage
ISBN: 0321246233
EAN: 2147483647
Year: 2006
Pages: 228
Authors: Eben Hewitt

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net