What are the OOPS concepts?

Answer Posted / vaibhav munde

Object oriented programming organizes a program around it's
data i.e objects and a set of well defined interface to
that data. An Object-oriented program can be characterized
as data controlling access to code.
OOPs concepts are
1)object
2)class
3)encapsulation
4)abstraction
5)polymorphism
6)inheritance
7)message passing
8)dynamic binding
These all are partially supported by c++,java supports
all the above features

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is for loop and its syntax?

598


Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.

2008


What causes polymorphism?

577


What is abstraction encapsulation?

659


State what is encapsulation and friend function?

700






What is polymorphism explain?

693


What are main features of oop?

636


How is class defined?

588


what is different between oops and c++

2004


what are the different types of qualifier in java?

1845


Why multiple inheritance is not allowed?

586


What is abstraction with example?

607


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

2070


what is the drawback of classical methods in oops?

2920


What is overloading in oops?

598