Why OOP?

 


OOPs needs to be used for:

  1. making programming clearer and problem-solving more concise
  2. reusing code with the help of inheritance
  3. reducing redundancy
  4. encapsulation
  5. data hiding
  6. the division into subproblems
  7. program flexibility using polymorphism

Comments