Answer: The comparison between the object-oriented programming and structured programming are as follows:-
In structured programming programs are split into small functions while in object oriented programming ,programs are made into entities known as objects.
Structured Programming is less secure as compared to object oriented programming which is more secure.
Structured programming shows less flexibility and object -oriented programming has more abstraction and flexibility.