Skip to main content

These objects provide a better and clear structure for the program.

variables are often referred to as properties of the object

functions are referred to as the behavior of the objects.

4 Pillars of OOPs Concept - Inheritance, Polymorphism, Encapsulation & Abstraction.

  1. Encapsulation
  2. Abstraction
  3. Inheritance
  4. Polymorphism
    • Method Overloading
    • Method Overriding
  5. Class
  6. Object

OOPs concept broadly divide into two modules(strong reusability and security)

Security
Abstraction
Encapsulation
Code Reusability
Inheritance
Polymorphism
Encapsulation
wrapping up data into single unit is known as Encapsulation.
Advantage
It is used for data hiding
code reusability
If we want we can make class -read only
Unit Testing