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
Can we have inheritance without polymorphism?
What are the benefits of polymorphism?
What is data binding in oops?
Is react oop?
Why multiple inheritance is not allowed?
What is object and class in oops?
what is the drawback of classical methods in oops?
Why it is called runtime polymorphism?
Explain the concepts involved in Object Oriented programming.
What is the purpose of enum?
Can enum be null?
write string class as your own class in java without using any built-in function
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?
What is variable example?
What is multilevel inheritance explain with example?