What is Object-Oriented Programming (OOP)?
A programming paradigm that organizes software design around objects containing data and behavior.
OOP uses four main principles: Encapsulation (bundling data with methods, hiding internals), Inheritance (creating new classes from existing ones), Polymorphism (one interface, multiple implementations), and Abstraction (simplifying complex systems).
OOP models real-world entities as objects. A Car class might have attributes (color, speed) and methods (accelerate, brake). Languages like Java, Python, C++, and PHP support OOP.