The three concepts usually identified with OOP (Object Oriented Programming) are encapsulation, inheritance, and polymorphism. This week we look at encapsulation and inheritance. Next week we get to polymorphism.

Chapter Eight - Classes and Objects: A Deeper Look

This chapter examines classes and objects in greater detail, including encapsulation.

Chapter Nine - Object Oriented Programming: Inheritance

This chapter covers the object oriented programming principle of inheritance.


In order to reinforce the principles you’ve learned in these chapters, I’m asking you to do the following programming exercise. It does not require any knowledge of Java beyond what was covered in the first eight chapters.