What are the main differences between procedure oriented
languages and object oriented languages?
Answer Posted / k.rajesh
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.
3. Facilities like function overloading and operator
overloading (polymorphism) allow you to use same names and
provide different functionality which avoids personalism in
naming conventions. These overloaded versions are easy to
use and remember.
| Is This Answer Correct ? | 53 Yes | 12 No |
Post New Answer View All Answers
Why do we use oops?
What is class and object in oops?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
Get me an image implementation program.
• What are the desirable attributes for memory managment?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
program for insertion ,deletion,sorting in double link list
What are the 3 pillars of oop?
What is overriding in oop?
what are the ways in which a constructors can be called?
What is multilevel inheritance in oop?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
what type of questions
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is polymorphism and its types?