What is the difference between OOP and SOP?

Object-Oriented ProgrammingStructural Programming
Object-Oriented Programming is a type of programming which is based on objects rather than just functions and proceduresProvides logical structure to a program where programs are divided functions
Bottom-up approachTop-down approach
Provides data hidingDoes not provide data hiding
Can solve problems of any complexityCan solve moderate problems
Code can be reused thereby reducing redundancyDoes not support code reusability

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *