google407ec42f1ae5ff0e.html
top of page

STRUCTURE Vs OBJECT-ORIENTED LANGUAGE

The OOP, can be considered to be a type of structured programming which used structured programming techniques for program flow, but adds more structure for data to be modelled. We have highlighted some of the basic differences between the two as under.


SR.

STRUCTURE Vs OBJECT-ORIENTED LANGUAGE

1

OOP is closer to the phenomena in real world due to the use of objects whereas structured programming is a bit away from the natural way of thinking of human beings.



2

Structured programming is a subset of object-oriented programming. Therefore, OOP can help in developing much larger and complex programs than structured programming.

3


The focus of a program is on manipulation of data in structured programming whereas the focus of OOP is on both data (structures and states of objects ) as well as on its manipulation(behavior of objects).





4

​The OOP promotes the reuse of classes and their parts of the code too. In addition, it also supports the inheritance of state and behavior. This feature is missing in structured programming.


5

​In OOP, data is hidden within the objects and its manipulation can be strictly controlled whereas in structure programming the data in the form of variable is exposed to unintended manipulation too.


7

The OOP supports polymorphism of operations.


4 views0 comments

Recent Posts

See All

Comments


bottom of page