This chapter introduced readers to the concepts of OOP and how they are implemented in Java. It provided an explanation of each concept and demonstrated how to use it in specific code examples. The Java language constructs of class and interface were discussed in detail. The reader also has learned what overloading, overriding, and hiding are and how to use the final keyword to protect methods from being overridden.
From the Polymorphism in action section, the reader learned about the powerful Java feature of polymorphism. This section brought all the presented material together and showed how polymorphism stays in the center of OOP.
In the next chapter, the reader will become familiar with Java language syntax, including packages, importing, access modifiers, reserved and restricted keywords, and some aspects of Java reference types. The reader will also learn how to...