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


Please Help Members By Posting Answers For Below Questions

Give two or more real cenario of virtual function and vertual object

1839


What is interface in oop?

640


what are the ways in which a constructors can be called?

1564


What is abstraction in oop?

620


What is encapsulation example?

536






What is polymorphism what is it for and how is it used?

563


Whats is abstraction in oops?

577


What do you mean by abstraction?

598


When not to use object oriented programming?

554


What language is oop?

581


What is a null tree?

613


What is the difference between procedural programming and oops?

538


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.

610


How do you achieve polymorphism?

598


What are constructors in oop?

574