Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
And what is oop characteristics. What is software reusablity ? Is it a feature of oop.
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.