Monday, 1 October 2018

Difference between object oriented programming and procedural oriented programming

As we know that C++ is based on object oriented programming technique so first of all we have to know what are Difference between object oriented programming and procedural oriented programming.

object oriented programming :

        1. It deals with data.
        2. program is divided in object.
        3. It follow bottom down approach.
        4. It have access specifier.
        5. It requires more amount of memory.
        6. It is more secure.
        7. It follows overloading concept.

C++ , Java , Python , etc

procedural oriented programming

        1. It deals with Algorithm.
        2. program is divided in function.
        3. It follow Top down approach.
        4. It have no access specifier.
        5. It requires less amount of memory.
        6. It is less secure.
        7. It  not follows overloading concept.

Pascal , C , Fortron etc.


2 comments:

Featured post

Program to find Volume of given box in java

class volume { public static void main (String args []) { int l=5,b=6,h=10; int volume; volume=l*b*h; System.out.println (" vol...