Monday, 21 January 2019

Difference between Procedure Oriented Programming vs. Object Oriented Programming



Procedure Oriented Programming(POP)
Object Oriented Programming(OOP)

In Procedure Oriented Programming, Program is divided into small parts called functions.

In Object Oriented Programming, program is divided into parts called objects.
POP follows Top Down approach.
OOP follows Bottom Up approach.
In POP, Data can move freely from function to function in the system.
In OOP, objects can move and communicate with each other through member functions.
POP does not have any access specifier.
OOP has access specifies named Public, Private, Protected, etc.
Example of POP are: C, VB, FORTRAN, and Pascal.
Example of OOP are: C++, JAVA, VB.NET, C#.NET.



1 comment:

  1. You don't realize how quickly technology is changing. Data science is highly technical and is therefore in high demand. A career in data science will open up many lucrative job opportunities. So, if you have been wanting to start your career in Data Science, now is the best time to enroll in a data science program with one of the best data science training institute in noida.

    ReplyDelete

apply function in R

1) apply function: It takes 3 arguments matrix,margin and function.. Example: m<-matrix(c(1,2,3,4),nrow=2,ncol=2) m #1 indicates it is ap...