Example for 4 pillar of oops like,
Inheritance,Poly,Abstraction,Encabsulation ?

Answer Posted / sanjeevkumar.v

data hiding,
INHERITANCE-- aquring base class property to derived class
POlYMORPHISM-- defferent form of functions
ENCAPSULATION-the wrapping of data is a single unit is
called as encapsulation
abstraction--the grouping of data is abstraction

Is This Answer Correct ?    23 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Get me an image implementation program.

1746


What is persistence in oop?

875


What are the data types in oop?

833


i got a backdoor offer in process global,Bangalore..Can i work with it?

2590


Why do we use inheritance?

829


write a C++ program for booking using constructor and destructor.

2277


What are objects in oop?

840


What is variable example?

793


What is inheritance in oop?

806


How do you achieve polymorphism?

829


What is the point of oop?

874


#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

2381


What is difference between pop and oop?

821


Why is encapsulation used?

774


Why polymorphism is used in oops?

798