Understanding Inheritance and Polymorphism
The previous chapter 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, constants, and read-only fields). This chapter will focus on the remaining two pillars of OOP: inheritance and polymorphism.
KeywordsBase Class Stock Option Class Hierarchy Hash Code Nest Type
Unable to display preview. Download preview PDF.