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
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
What are the features of oop?
What is overriding in oop?
Can abstract class have normal methods?
why reinterpret cast is considered dangerous?
What is a superclass in oop?
Can destructor be overloaded?
What is the types of inheritance?
What does oop mean in snapchat?
Why is it so that we can have virtual constructors but we cannot have virtual destructors?
What is an advantage of polymorphism?
What is meant by multiple inheritance?
which feature are not hold visual basic of oop?
what are the realtime excercises in C++?