Computer Science, asked by purshottam, 1 year ago

What is difference between oop and procesiral programming


purshottam: Yes. Can you plz give answer
purshottam: Thnx for giving the answer it helps me a lot...
siddhartharao77: My pleasure..
purshottam: I ask two more ques. Can u plz answer them in one line..
siddhartharao77: Yes.
siddhartharao77: I will try to answer
purshottam: Thanks its urge
purshottam: Urgent
siddhartharao77: ohkk
purshottam: Hmm

Answers

Answered by siddhartharao77
1
POP - procedure-oriented programming. OOP - object-oriented programming.


1. In pop, the Large program is divided into units called functions.
   In oop, the entire program is divided into objects.

2. In pop
 does not have any access specifier.
    oop has 
access specifiers named Public, Private, Protected, etc.

3. In pop, same data may be transferable from one function to another.
    In oop, dat
a does not possibly transfer from one object to another.

4. In pop,
 overloading is not possible.
    In oop, overloading is possible.

5. pop follows a top-down approach.
    oop follows a bottom-up approach.



Ex of pop is  
C, VB, FORTRAN, Pascal.

Ex of oop is C++, Java.



Hope this helps!

Similar questions