To be truly practicing object-oriented programming, you must be using all three of the “pillars”, i.e., encapsulation, inheritance, and polymorphism .
To be truly practicing object-oriented programming, you must be using all three of the “pillars”, i.e., encapsulation, inheritance, and polymorphism .