why oops need in programming

Answer Posted / hiren

oops need in programing coz of user doesn't want to use any
code to other user like that encapsulation, inheritance,
abstraction etc. so, that oop need in programing.

Is This Answer Correct ?    10 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4461


What is the main purpose of inheritance law?

918


What is the real time example of encapsulation?

784


why reinterpret cast is considered dangerous?

2085


Can private class be inherited?

878


Templates mean

1814


What is the advantage of oop over procedural language?

835


What is overriding in oop?

766


What are the data types in oop?

808


Why do we use class?

802


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2292


Is oop better than procedural?

755


Describe these concepts: Polymorphism, Inheritance and Abstraction.

833


#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

2354


Explain the concepts involved in Object Oriented programming.

853