Friday, December 11, 2015

Why Object Oriented Approach?

   >>> A major factor in the invention of Object - Oriented approach is to remove some of the flaws encountered with the procedural approach.

   >>> In OOP, data is treated as a critical element and does not allow it to flow freely.

   >>> It bounds data closely to the functions that operate on it and protects it from accidental modification from outside functions.

   >>> OOP allows decomposition of a problem into a number of entities called objects and the builds data and functions around these objects.

   >>> A major advantage of OOP is code re - usability.

No comments:

Post a Comment