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 does and I oop and sksksk mean?
What is byval and byref? What are differences between them?
What is oops with example?
hi all..i want to know oops concepts clearly can any1 explain??
What is encapsulation oop?
How is polymorphism achieved?
What is abstraction oop?
What is encapsulation process?
Why multiple inheritance is not possible?
#include
What is the point of polymorphism?
What is overloading in oop?
What is a function in oop?
Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.
Why interface is used?