What is the difference between OOP and SOP (Structural Programming) concepts?

 What is the difference between OOP and SOP (Structural Programming) concepts?

Last updated:8/23/2021 6:58:52 AM

1 Answers

Ashutosh Kumar Verma
Ashutosh Kumar Verma

Difference between oops and sop-

                            OOPs (Object Oriented Programming system)                                                    SOP(Procedural Programming)
1- OOPs is object based programming language.

SOP is based on function based programming language.

2- OOPs is bottom-up approach  sop is top-down approach.
3- Data hiding concept in performed in oops. Data hiding concept can not performed in sop.
4- It is more secure than sop. sop in not secure as oops is.
5-Access modifier is used in oops programming language i.e.- public ,private and public There is not access modifier is used in sop.
There is adding data and function is east.

There is adding data into and function is not easy.

for ex- java, c++, c#, python etc. ex- fortran, cobole,  c., pascal, basics etc.


Answer