Chapter 11. Classes Reloaded

DO OR DIE

  • Learn more about classes.

  • Eat more, drink more, be merrier.

The Classes chapter in this book covered a lot of the basics about writing classes and making objects (instances of classes) and using variables and methods. We discussed what makes up a class, including a package, visibility, methods, and fields.

There was a lot of stuff in that last chapter that we had to cover before anything else could start making sense. But the Java class is the heart of the language. It is actually all that you ever do, write classes. So if we said everything about classes in one chapter, that chapter would be like one giant, super-long, book-length chapter, 900 hours long, like LoTR RotK, so action-packed that it doesn't ...

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.