What is OOPS and How it is different from Procedural
Programming ?

Answer Posted / pankaj singh rawat

oops is mainly used for abstraction of data .it enhances the
reusability and easy to maintain the code. It uses objects
for everything which gives better understanding about large
projects to new programmer onto that project.
It uses the encapsulation,inheritance,polymorphism to achive
this goal.
while procedure oriented language is related to procedure in
which a large program have sub-program called procedure or
functions. Benefit is that a global data can be share by
every other function . don't need to define again and
again.Drawback is that data value can be change by any other
function without informing other functions.
Main drawback of this type of programming is that its very
complex to understand large modified programs to new
programmer.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we have inheritance without polymorphism?

604


What are the benefits of polymorphism?

614


What is data binding in oops?

576


Is react oop?

605


Why multiple inheritance is not allowed?

581






What is object and class in oops?

573


what is the drawback of classical methods in oops?

2908


Why it is called runtime polymorphism?

573


Explain the concepts involved in Object Oriented programming.

624


What is the purpose of enum?

577


Can enum be null?

581


write string class as your own class in java without using any built-in function

1967


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?

1628


What is variable example?

591


What is multilevel inheritance explain with example?

619