What are the main differences between procedure oriented
languages and object oriented languages?

Answer Posted / ankit samal

1. Procedural languages enforce sequential processing
of instructions. Object oriented languages may implement
event driven processing.
2. Procedural languages store all data as global while
OOPs languages support data encapsulation -- all related
data is stored inside one object and only relevant data is
shown to the user.

Procedure Oriented Language: It follows the a procedure
that is simply saying it will go line by line in the code
unless if u mentioned any goto are any code breaking
keywords.

Object Oriented Language: In this each and every program is
called as Object. that is simply saying we will breake the
code in to small pieces and we will call the code when we
want.

Is This Answer Correct ?    13 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

1655


What are the features of oop?

641


What is overriding in oop?

550


Can abstract class have normal methods?

616


why reinterpret cast is considered dangerous?

1905






What is a superclass in oop?

671


Can destructor be overloaded?

601


What is the types of inheritance?

604


What does oop mean in snapchat?

688


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3848


What is an advantage of polymorphism?

598


What is meant by multiple inheritance?

741


which feature are not hold visual basic of oop?

1725


what are the realtime excercises in C++?

2337


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1419