Advertisement
Difference between Structured Programming and Object Oriented Programming | Structured Programming vs. Object Oriented Programming
Structured Programming |
Object Oriented Programming |
---|---|
Structured Programming is designed which focuses on process/ logical structure and then data required for that process. | Object Oriented Programming is designed which focuses on data. |
Structured programming follows top-down approach. | Object oriented programming follows bottom-up approach. |
Structured Programming is also known as Modular Programming and a subset of procedural programming language. | Object Oriented Programming supports inheritance, encapsulation, abstraction, polymorphism, etc. |
In Structured Programming, Programs are divided into small self contained functions. | In Object Oriented Programming, Programs are divided into small entities called objects. |
Structured Programming is less secure as there is no way of data hiding. | Object Oriented Programming is more secure as having data hiding feature. |
Structured Programming can solve moderately complex programs. | Object Oriented Programming can solve any complex programs. |
Structured Programming provides less reusability, more function dependency. | Object Oriented Programming provides more reusability, less function dependency. |
Less abstraction and less flexibility. | More abstraction and more flexibility. |