Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why Object Oriented approach?

approach object Oriented
0
Posted

Why Object Oriented approach?

0

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 then builds data and functions around these objects. A major advantage of OOP is code reusability. Some important features of Object Oriented programming are as follows: • Emphasis on data rather than procedure • Programs are divided into Objects • Data is hidden and cannot be accessed by external functions • Objects can communicate with each other through functions • New data and functions can be easily added whenever necessary • Follows bottom-up approach Concepts of OOP: • Objects • Classes • Data Abstraction and Encapsulation • Inheritance • Polymorphism Briefly

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123