Swipe to navigate through the chapters of this book
Chapter 5 examined the first pillar of OOP: encapsulation. At that time, you learned how to build a single well-defined class type with constructors and various members (fields, properties, methods, constants, and read-only fields). This chapter will focus on the remaining two pillars of OOP: inheritance and polymorphism.
Please log in to get access to this content
To get access to this content you need the following product:
- Understanding Inheritance and Polymorphism
- Sequence number
- Chapter number
- Chapter 6