What are the OOPS concepts?

Answers were Sorted based on User's Feedback



What are the OOPS concepts?..

Answer / swetcha

1) Encapsulation: It is the mechanism that binds together
code and data in manipulates, and keeps both safe from
outside interference and misuse. In short it isolates a
particular code and data from all other codes and data. A
well-defined interface controls the access to that
particular code and data.
2) Inheritance: It is the process by which one object
acquires the properties of another object. This supports
the hierarchical classification. Without the use of
hierarchies, each object would need to define all its
characteristics explicitly. However, by use of inheritance,
an object need only define those qualities that make it
unique within its class. It can inherit its general
attributes from its parent. A new sub-class inherits all of
the attributes of all of its ancestors.
3) Polymorphism: It is a feature that allows one interface
to be used for general class of actions. The specific
action is determined by the exact nature of the situation.
In general polymorphism means "one interface, multiple
methods", This means that it is possible to design a
generic interface to a group of related activities. This
helps reduce complexity by allowing the same interface to
be used to specify a general class of action. It is the
compiler's job to select the specific action (that is,
method) as it applies to each situation

Is This Answer Correct ?    1138 Yes 208 No

What are the OOPS concepts?..

Answer / suresh ragala

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 ?    729 Yes 107 No

What are the OOPS concepts?..

Answer / srividhya

The concepts of OOPs are


Objects
Data abstraction
Data Encapsulation
Inheritance
Overloading
Polymorphism

And easy to use

Is This Answer Correct ?    692 Yes 164 No

What are the OOPS concepts?..

Answer / ramesh

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 ?    438 Yes 76 No

What are the OOPS concepts?..

Answer / manila

BASIC CONCEPT OF OOPS:
1.OBJECTS:
An object is an abstraction of a real world entity. It may
represent a person,a placea number and icons or something
else that can be modelled.Any data in an object occupy some
space in memory and can communicate with eachother .
2.CLASSES:
A class is a collection of objects having common
features .It is a user defined datatypes which has data
members as well functions that manupulate these datas.
3.ABSTRACTION:
It can be definr\ed as the seperation of unnecessary
details or explation from system requirments so as to
reduce the complaxities of understanding requirments.
4.ENCAPTULATION:
It is a mechanism that puts the data and function together.
It is bthe result of hiding implimintation details of an
object from its user .The object hides its data to de
accessed by only those functions which are packed in the
class of that object.
5.INHERITANCE:
It is the relationship between two classes of object such
that one of the classes ,the child takes all the relevent
features of other class -the parent.
Inheritance bring about reusablity.
6.POLYMORPHISM:
polymorphism means having many forms that in a single
entity can takes more than one form.Polymorphism is
implemented through operator overloading and function
overloading.
7.DYNAMIC BINDING:
Dynamic binding is the proces of resolving the function to
be associated with yhe respective functions calls during
their runtime rather than compile time.
8.MESSAGE PASSING:
Every data in an objest in oops that is capable of
processing request known as message .All object can
communicate with each other by sending message to each other

Is This Answer Correct ?    325 Yes 37 No

What are the OOPS concepts?..

Answer / janet

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.

Is This Answer Correct ?    432 Yes 241 No

What are the OOPS concepts?..

Answer / satya

objects
interface
polymorphism
inheritence
constructors
encapsulation

Is This Answer Correct ?    369 Yes 220 No

What are the OOPS concepts?..

Answer / rithi

The following are the basic concepts of OOPS.
1)Objects
2)Classes
3)Data Abstraction
4)Data Encapsulation
5)Inheritance
6)Polymorphism
7)Message Passing
8)Reusability
9)Dynamic Binding
10)Methods

Is This Answer Correct ?    218 Yes 77 No

What are the OOPS concepts?..

Answer / ponnurajesh

OOPs concepts are
1)object
2)class
3)encapsulation
4)abstraction
5)polymorphism
6)inheritance
7)message passing
8)dynamic binding
BASIC CONCEPT OF OOPS:
1.OBJECTS:
An object is an abstraction of a real world entity. It may
represent a person,a placea number and icons or something
else that can be modelled.Any data in an object occupy some
space in memory and can communicate with eachother .
2.CLASSES:
A class is a collection of objects having common
features .It is a user defined datatypes which has data
members as well functions that manupulate these datas.
3.ABSTRACTION:
It can be definr\ed as the seperation of unnecessary
details or explation from system requirments so as to
reduce the complaxities of understanding requirments.
4.ENCAPTULATION:
It is a mechanism that puts the data and function together.
It is bthe result of hiding implimintation details of an
object from its user .The object hides its data to de
accessed by only those functions which are packed in the
class of that object.
5.INHERITANCE:
It is the relationship between two classes of object such
that one of the classes ,the child takes all the relevent
features of other class -the parent.
Inheritance bring about reusablity.
6.POLYMORPHISM:
polymorphism means having many forms that in a single
entity can takes more than one form.Polymorphism is
implemented through operator overloading and function
overloading.
7.DYNAMIC BINDING:
Dynamic binding is the proces of resolving the function to
be associated with yhe respective functions calls during
their runtime rather than compile time.
8.MESSAGE PASSING:
Every data in an objest in oops that is capable of
processing request known as message .All object can
communicate with each other by sending message to each other

Is This Answer Correct ?    173 Yes 32 No

What are the OOPS concepts?..

Answer / ajay kumar(me-se-tu)

OOPs define software as a collection of discrete oblects
that specify both data structure and behavior. OOPs
Identify following aspects:
Data abstraction, Inheritence, Polymorphism, Encapsulation
(information hiding)etc.

Is This Answer Correct ?    210 Yes 78 No

Post New Answer

More OOPS Interview Questions

write a c++ program to find maximum of two numbers using inline functions.

3 Answers   IBM,


What is the different between Applet and Application?

2 Answers  


Can abstract class have normal methods?

0 Answers  


Why multiple inheritance is not allowed?

0 Answers  


The IT giant Tirnop has recently crossed a head count of 150000 and earnings of $7 billion. As one of the forerunners in the technology front, Tirnop continues to lead the way in products and services in India. At Tirnop, all programmers are equal in every respect. They receive identical salaries and also write code at the same rate. Suppose 14 such programmers take 14 minutes to write 14 lines of code in total. How long will in take 5 programmers to write 5 lines of code in total ?

6 Answers   TCS,






What is polymorphism what are the different types of polymorphism?

0 Answers  


advantage and disadvantage in c++>>oops and what are the questions ask for interview in c++>>oops. could you tell me or reply me

0 Answers  


what is difference between objects and function

3 Answers  


What is the real time example of encapsulation?

0 Answers  


#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][2]; }

1 Answers  


what i oops concept, how many languages supports oops concept?

3 Answers   Value Labs,


if u write a class do u write Assignment operator and copy constructor

1 Answers   Siemens,


Categories