State the important features of object oriented program compare object oriented programming with product oriented programming
Answers
Answered by
3
In my opinion, the main features of OOP are:
Good representation of reallity through the modelling of classes.
Code reuse through inheritance. Wich makes easier to maintain it.
Encapsulation of data, assuring its consistence.
Maybe some other features can be highlited, but I think this is the main features of OOP. Hope I've helped.
Good representation of reallity through the modelling of classes.
Code reuse through inheritance. Wich makes easier to maintain it.
Encapsulation of data, assuring its consistence.
Maybe some other features can be highlited, but I think this is the main features of OOP. Hope I've helped.
Answered by
4
Features of OOP
(i) Encapsulation .
(ii) Data abstraction .
(iii) Modularity.
(iv) Polymorphism .
(v) Inheritance .
Object Oriented Programming focuses more on data and logic and security.
It has encapsulation and other features for protection and security of data.
This is very helpful and object oriented programming gives equal importance to data and procedure.
However Procedure Oriented programming focuses on the procedure more than the data being used.
This is the difference between them .
Hence OOP is better preferred than POP .
Similar questions