The four main principles of Object-Oriented Programming (OOP) are:
Encapsulation: Hides data and methods in a class for security and controlled behavior.
Inheritance: Allows classes to inherit properties, enabling code reuse and hierarchy.
Polymorphism: Treats different class objects as a common superclass, offering flexibility in method implementation.
Abstraction: Defines essential object characteristics, simplifying complex systems
If you are interested in learning more about OOPs, then check out this informative video by Intellipaat for better understanding -