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


Please Help Members By Posting Answers For Below Questions

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?

1639


Why it is called runtime polymorphism?

577


What is the main purpose of inheritance law?

673


What is abstract class in oops?

602


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?

2763






What is byval and byref? What are differences between them?

1691


What is a superclass in oop?

671


what are the different types of qualifier in java?

1846


class type to basic type conversion

1842


Explain the concepts involved in Object Oriented programming.

643


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2110


What is the difference between a constructor and a destructor?

617


Can we create object of abstract class?

580


Why do we use inheritance?

630


Why do we use polymorphism in oops?

583