Difference between OPP and POP
Answers
Explanation:
Procedure-oriented Programming(POP) and Object-oriented programming(OOP) both are the programming approaches, which uses high-level language for programming. A program can be written in both the languages, but if the task is highly complex, OOP operates well as compared to POP. In POP, the ‘data security’ is at risk as data freely moves in the program, as well as, ‘code reusability’ is not achieved which makes the programming lengthy, and hard to understand.
Large programs lead to more bugs, and it increases the time of debugging. All these flaws lead to a new approach, namely “object-oriented programming”. In object-oriented programming’s primary concern is given on ‘data security’; it binds the data closely to the functions which operate on it.
It also resolves the problem of ‘code reusability’, as if a class is created, its multiple instances(objects) can be created which reuses the members and member functions defined by a class. There are some other differences which can be explained with the help of a comparison chart.
he mate
here's your answer
the difference is of O and P
in OPP second letter is P
whereas in POP second letter is O