Summary

If today was your first exposure to object-oriented programming, it probably seems theoretical and a bit overwhelming.

Don't be alarmed. You will be using object-oriented techniques for the rest of this book, and it will become familiar as you gain more experience using it.

At this point, you should have a basic understanding of classes, objects, attributes, and behavior. You also should be familiar with instance variables and methods. You'll be using these right away tomorrow.

The other aspects of object-oriented programming, such as inheritance and packages, will be covered in more detail on upcoming days.

To summarize today's material, here's a glossary of terms and concepts that were covered:

Class— A template for an object that contains ...

Get Sams Teach Yourself Java 2 in 21 Days, Second Edition 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.