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
What is encapsulation oop?
What is polymorphism and why is it important?
c++ program to swap the objects of two different classes
What is polymorphism used for?
What are the advantages of polymorphism?
What is the difference between inheritance and polymorphism?
What are the 4 pillars of oop?
What is property in oops?
Why do we use polymorphism?
What are the types of abstraction?
What is a function in oop?
What is solid in oops?
What is constructor overloading in oop?
What is an example of genetic polymorphism?
How do you achieve runtime polymorphism?