What are the OOPS concepts?

Answer Posted / komichi

The basic OOP concepts are:
1. Data abstraction
2. Data encapsulation
3. Inheritance
4. Polymorphism

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6375


which feature are not hold visual basic of oop?

1945


What are two types of polymorphism?

808


can we make game by using c

3728


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

1997


Why do we need polymorphism in c#?

886


What is encapsulation with example?

792


Why is abstraction used?

846


What is coupling in oops?

827


What is object and class in oops?

787


Can private class be inherited?

908


What is new keyword in oops?

795


#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

2379


write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

1992


to find out the minimum of two integer number of two different classes using friend function

1873