Header Ads Widget

Ticker

3/recent/ticker-posts

DIFERENCES BETWEEN OOP(Object-Oriented Programming) AND POP(Procedural Oriented Programing )

 


POP(Procedural Oriented Programing )

Characteristics of POP

 - Program is divided into small parts called functions 

- Importance is not given to data but to functions as well as sequence of actions to be done 

- Does not have any access specifies 

- In POP, Data can move freely from function to function in the system

- To add new data and function in POP is not so easy 

- In POP, Most function uses Global data for sharing that can be accessed freely from function to       function in the system .

- POP does not have any proper way for hiding data so it is less secure

 - In POP, Overloading is not possible 

- Example of POPL are : C, VB, FORTRAN, Pascal 

Object Oriented programing(OOP)
Characteristics of OOP
 - Program is divided into parts called objects 
 - Importance is given to data rather than procedures or functions to mimic real world realm
 - OOP has access specifies named Public, Private, Protected, etc
 - In OOP, objects can move and communicate with each other through member functions/methods
 - OOP provides an easy way to add new data and function/methods 
 - In OOP, data cannot move easily from function to function, it can be kept public or private so we can control the access of data
  - OOP provides Data Hiding so provides more security 
 -In OOP, overloading is possible in the form of Function Overloading and Operator Overloading 
 - Example of OOP are : C++, JAVA, VB.NET, 

Post a Comment

0 Comments