1.

Why is object-oriented programming so popular?

Answer»

There are certain POINTS due to which OOPs become so popular.

  • It provides a better programming style, so you don’t need to write code again and again which you want to run, just make a CLASS of the OBJECT and call it.
  • As it supports the inheritance concept, an application created with OOPs can inherit another class property.
  • It provides a modularity model that means if you change any part of code that is in a SEPARATE module, that won’t impact any other module.
  • If you are stuck somewhere, this language allows your problems to break down into bite-sized pieces so that you can SOLVE them.
  • Due to its polymorphism feature, a single class can be used to create different objects, and that too from the same piece of code.


Discussion

No Comment Found