What are the fundamental concepts of OOP?



OOP stands for Object-Oriented Programming and the following are the fundamental concepts:



- Encapsulation: It is the internal representation of an object which is hidden from the outside view of an object’s definition. Only required information is accessed while the other data are hidden.



- Abstraction: It is defined as the process of identifying critical behavior, eliminating the irrelevant details and data of an object.



- Inheritance: It is defined as the process of creating new classes from another class. This can be achieved by accessing, modifying, and extending the behavior of the objects in their parent class.



- Polymorphism: It is a term used for describing one name in many forms. It can be achieved through the same name but different implementations.



https://youtu.be/m_MQYyJpIjg