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 are the features of oop?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
What do you mean by abstraction?
What is polymorphism used for?
What does it mean when someone says I oop?
Why do we need polymorphism in c#?
What is and I oop mean?
What is polymorphism in oops with example?
What is a superclass in oop?
What is polymorphism and example?
What is difference between pop and oop?
What is balance factor?
What is for loop and its syntax?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
write a C++ program for booking using constructor and destructor.