Difference between Object Oriented Programming(OOPs) and Procedural Oriented Programming( POPs).

Difference between Object Oriented Programming and Procedural Oriented Programming. 

Or

Difference between OOPs and POPs.

OOPs :

1.OOP stands for Object-oriented programming.


2 . It deals with data. (it emphasis on data(objects) ). rather than procedures.


3 . larger programs are divided into small parts  called objects.


4 . it provides features named encapsulation, abstraction,inheritance, polymorphism.


5. It follows  bottom up approach. 


6. It is more secure.


7. It needs more memory space.


8. It follows overloading.


9. OOPs has access specifier named
public, private, protected.


10. Example :java, c++,perl,c#,etc.


POPs:


1 . POP stands for Procedure-oriented programming.


2 . it deals with algorithms. (it emphasis on doing things(functions) ).

3.larger programs are divided into small parts  called functions.


4. it does not provides features named encapsulation, abstraction,inheritance, polymorphism.


5 . it follows top down approach.


 6.  It is less secure. 


7.  It needs less memory space.


8. It does not follow overloading.


9 . POPs does not have access specifiers.


10. Example: C, COBOL ,Pascal, Fortran,etc.



Comments

Popular posts from this blog

Control Statements:Selection statement ,Iteration statement and Jump statement in Java

Abstract classes and Abstract methods in Java with Examples rcub.

Applets - Inheritance hierarchy for applets, differences between applets and applications, life cycle of an applet, passing parameters to applets, applet security issues.