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

What is interface in oop?

807


What is an example of genetic polymorphism?

811


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

1811


What are the benefits of interface?

733


Why polymorphism is used in oops?

731






How Do you Code Composition and Aggregation in C++ ?

24525


Can we define a class within the interface?

718


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2307


2. Give the different notations for the class.\

1726


Are polymorphisms mutations?

843


What are the features of oop?

779


What is overloading in oop?

701


What is encapsulation in oops?

699


What is inheritance write a program to show use of inheritance?

791


What are oops functions?

720