Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is OOP aproach ?

And what is oop characteristics. What is software reusablity ? Is it a feature of oop.

user-image
Question ajoutée par Subhranshu Ganguly , Quality Analyst. , WIPRO
Date de publication: 2013/12/26
Emad Mohammed said abdalla
par Emad Mohammed said abdalla , ERP & IT Software, operation general manager . , AL DOHA Company

I agree with the answer added by:

Daniel Marx   Daniel Marx

Daniel Marx Developer at Eastline Marketing

Follow

 

 

Daniel Marx
par Daniel Marx , Software Developer , Check24

The basic idea of OOP is implementing an architecture reflecting objects of the real world which the software is about to represent, e.g. a graphic software contains objects like circles, rectangles, ...

The concept of OOP is more or likely just an approach to develope well-structured software, therefore its an architectural concept, as there is always a non OOP approach to achieve a task.

The characteristics of OOP are, as the name already hypothises, Objects and these objects have attributes and methods which can be accessed and called by the "Outside world" (if declared public). Going even further into the design techniques, these object follow the "Black Box"-Concept, meaning "I don't wanna know how you handle your tasks, I just fill you with the required data and you will do whatever you'r supposed to do".

There are a lot of more characteristics but making it short:

- Classes

- Inheritance

- Abstraction

- Polymorphism

- Data Encapsulation

- Persistency

...

Reusabilty means the abilitiy to reuse a piece of software within another project with minimal or no adjustments. In my opinion it's not a feature of OOP as there is lots of code which is not based on OOP but still reusable in other projects e.g. the sqlite3 C/C++ interface.

More Questions Like This