What are four pillars of oops?
Sigiloso
Encapsulation: Bundles data and methods in a class, restricting access to some components to prevent misuse. Abstraction: Hides complex implementation details, exposing only necessary features to simplify interaction. Inheritance: Allows a new class to inherit properties and behaviors from an existing class, promoting code reuse. Polymorphism: Enables methods to behave differently based on the object they are acting upon, allowing for flexible and dynamic behavior.