What is OOPS and How it is different from Procedural
Programming ?
Answer Posted / chandra sekhar rapeti
A major factor in the invention of Object-Oriented approach
is to remove some of the flaws encountered with the
procedural approach.
Object Orientation Languages (OOL) is concerned to develop
an application based on real time while Procedural
Programing Languages (PPL) are more concerned with the
processing of procedures and functions.
In OOL, more emphasis is given on data rather than
procedures, while the programs are divided into Objects and
the data is encapsulated (Hidden) from the external
environment, providing more security to data which is not
applicable or rather possible in PPL. In PPL, its possible
to expose Data and/or variables to the external entities
which is STRICTLY restricted IN OOL.
In OOL, the Objects communicate with each other via
Functions while there is no communication in PPL rather its
simply a passing values to the Arguments to the Functions
and / or procedures.
OOL follows Bottom Up Approach of Program Execution while
in PPL its Top Down approach.
OOL concepts includes Inheritance, Encapsulation and Data
Abstraction, Late Binding, Polymorphism, Multithreading,
and Message Passing while PPL is simply a programming in a
traditional way of calling functions and returning values.
Below is the list of OOL languages :- JAVA, VB.NET, C#.NET
Below is the list of PPL languages :- C, VB, Perl, Basic,
FORTRAN
| Is This Answer Correct ? | 13 Yes | 9 No |
Post New Answer View All Answers
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is the difference between encapsulation and polymorphism?
What is the real life example of polymorphism?
What is the real time example of encapsulation?
What is destructor oops?
What is object and class in oops?
What type of loop is a for loop?
What is inheritance in simple words?
can inline function declare in private part of class?
What is encapsulation in oop?
Why is abstraction needed?
What is inheritance write a program to show use of inheritance?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is encapsulation in ict?
How many human genes are polymorphic?