what is polymorphism inheritance encapsulation abstraction
Inheritance, encapsulation, abstraction, and polymorphism are four fundamental concepts of object-oriented programming. This article focuses on inheritance. Encapsulation, abstraction, and polymorphism are covered in other articles.Please read Object-oriented programming concepts: Objects and classes and Object-oriented programming concepts: Writing classes if you have not already done so.his article focuses on inheritance. Encapsulation, abstraction, and polymorphism are covered in other articles. Please read Object-oriented programming concepts: Objects and classes and Object-oriented programming concepts: Writing classes if you have not already done so.