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 ...

Get Java Garage 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.