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
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
Why it is called runtime polymorphism?
What is the main purpose of inheritance law?
What is abstract class in oops?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is byval and byref? What are differences between them?
What is a superclass in oop?
what are the different types of qualifier in java?
class type to basic type conversion
Explain the concepts involved in Object Oriented programming.
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is the difference between a constructor and a destructor?
Can we create object of abstract class?
Why do we use inheritance?
Why do we use polymorphism in oops?