What are the main differences between procedure oriented
languages and object oriented languages?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / varaprasad
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 ? | 28 Yes | 8 No |
Answer / 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 |
Answer / rahul madanan
procedural language: instructions will be divided into
various blocks called as datas .It concentrates on
procedures rather than datas.
oops: class is created where data and functions are
encapsulated. It concentrates on data rather than
procedure.
| Is This Answer Correct ? | 19 Yes | 15 No |
Answer / hbp sandeep
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 ? | 1 Yes | 0 No |
Answer / sudesh
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 ? | 3 Yes | 4 No |
Answer / ashish tripathi
Pocedure Pogramming:
it concentrate the procedure .execution is going on through
procedure.it means that we can not jump without calling the
pevoius pocedure .
oop:
no restiction are there .
simply call whatever u want to execute.
| Is This Answer Correct ? | 4 Yes | 6 No |
Definition of Object Oriented Programming in single line?
33 Answers Impact Systems, Q3 Technologies, TCS,
Is this job good for future? can do this job post grduate student?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
Have you ever used threads?
Given two strings like x=?hello? and y=?open?, remove any character from string x which is also used in string y, thus making the result x=?hll?.
How does polymorphism work?
WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.
There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?
what are three tenets of object orinted Systems?Why they call like that ? Please answer me. Advance thanks.
Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.
what is oppes
What is polymorphism and example?