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 |
Name an advantage of array over linked list?
24 Answers GML, IBM, Software Solutions,
What do we mean by a hidden argument in C++?
string is a class or data type in java?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
can we create and enter the data & hide files using programmes ?
What is persistence in oop?
Can enum be null?
What is difference between #define and const?
how to tackle technical questions
Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.
what is ns string? what is ns array?
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).