With the ability to create custom objects, you begin your adventure into object-oriented programming (OOP). However, you have yet to learn some other very important characteristics of objects. In this chapter you will explore the essential techniques of OOP and learn how
To write a constructor to customize the way a class is instantiated
To overload constructors for flexibility
Inheritance is used to reuse code
Polymorphism is used in OOP
3.21.12.140