- Object oriented and procedure oriented programming are given below:
The difference between Object oriented and Procedure oriented Programming are as follows..
Object Oriented Programming (OOPs) Procedure oriented Programming (POPs) 1. Data is more Secure in Object Oriented Programming language. 1.Data is less Secure in Procedure Oriented Programming Language. 2.In Object Oriented Programming , Data and Function are combined together. 2.In Procedure Oriented Programming , Data and Function are not combined together. 3.This is a good programming approach for Real-time application. 3.This is a good programming approach for Scientific application. 4.Each and Every Features of POP may be present in OOP . 4.It does not support the concept of OOP. 5.We can define an abstract data type which describes all objects of the class. 5.We cannot define an abstact data type. 6.The OOP follows bottom up approach. 6.The POP follows top down approach. 7.Object communicate with each other by message passing concept. 7.Many functions share the same data generally global data. 8.The OOP support access specifier such as public, private, protected. 8. The POP does not support any access specifier such as public, private, protected. 9. OOP support overloading and overriding concept. 9. POP does not support overloading and overriding concept. 10.It create objects and communicates by sending message to them. 10.It communicates by parmeter and return type. 11.Objects exchange message with each other. 11.Data is exchanged between function under the control of the main program. 12.Examples are C++, java 12. Examples are C, pascal