features of OOPS

Answers were Sorted based on User's Feedback



features of OOPS..

Answer / vijender singh

. Encapsulation: Binding of Code and data together in a
single entity
2. Polymorphism: One name many properties (funtion
Overloading)
3. Inheritance:Acquiring properties of one object to another

Is This Answer Correct ?    15 Yes 7 No

features of OOPS..

Answer / abhijeet sinha

Classes
objects
Encapsulation
Inheritance
Polymorphism

Is This Answer Correct ?    9 Yes 2 No

features of OOPS..

Answer / kolla pavan

class
object
encapsulation
abstraction
inheritence
message passing
dynamic binding

Is This Answer Correct ?    11 Yes 5 No

features of OOPS..

Answer / ramaiah.teepalapudi

Tme main advantages of OOPs are

1.Code reusability
2.Program code reduction

Is This Answer Correct ?    11 Yes 5 No

features of OOPS..

Answer / shivam`

There are two types of polymorphism.

1. Compile time polymorphism - It is achieved by
overloading functions and operators
2. Run time polymorphism - It is achieved by overriding
virtual functions

Lets say you have a class that have many Load methods having
different parameters, this is called Compile time
polymorphism. Lets take another example where you have a
virtual method in the base class called Load with one
parameter and you have redefined its functioanlity in your
sub class by overriding base class Load method, this is
called Run time polymorphism.

Is This Answer Correct ?    6 Yes 3 No

features of OOPS..

Answer / chinni

object,class,polymorphism,inheritance,dynamic binding,message
passing,abstraction,encapsulation.

Is This Answer Correct ?    4 Yes 2 No

features of OOPS..

Answer / shahid

these are following features of OOPS.
1.Class
2.Object
3.Data Abstraction
4.Polymorphism
6.Inheritance,etc.

Is This Answer Correct ?    3 Yes 1 No

features of OOPS..

Answer / swati kashyap

Followings are the feature of OOPS:
OBJECT
CLASS
ABSTRACTION
ENCAPSULATION
POLYMORPHISM
INHERITANCE
MESSAGE COMMUNICATION

OBJECT:- IS THE INSTANCE OF CLASS

CLASS:- IS THE TEMPLATE OF OBJECT i.e, class contain object
in it.

ABSTRACTION:- IS WAY TO REPRESENT THE ESSENTIAL INFORMATION,
WITHOUT SHOWING THE HIDDEN DETAILS. FR EX:- WORKING OF ANY
ELECTRICAL APPLIANCE WE ARE NOT FAMILIAR WITH THE HIDDEN OR
THE INTRINSIC WORKING OF THE APPLIANCE BUT WE KNOW HOW TO
OPERATE IT. BUY PRESS BUTTON. WE KNOW THE OUTCOME OF THAT
MACHINE NOT THE INTERNAL WORKING OF IT.

ENCAPSULATION:- IS THE WAY OF HIDING THE DATA. OR IN OTHER
WORDS EVERYONE IS NOT ABLE TO RETRIEVE THE DATA.
POLYMORPHISM:-IS GENERALLY USED FOR OVERLOADING.

POLYMORPHISM ARE OF TWO TYPES:
COMPILE TIME POLYMORPHISM, RUN-TIME POLYMORPHISM

INHERITANCE:- IS THE WAY, Via. WHICH CHILD OR SUB CLASS CAN
EXTENDS THE ALL METHODS AND FUNCTION OF THE SUPER OR PARENT
CLASS. HERE PARENTS OR SUPER CLASS IS THE CLASS BY WHICH THE
SUB CLASS GET INHERITED. FR EX.. THE VERY OBVIOUS EXAMPLE IN
REAL LIFE, A RELATION OF PARENT AND CHILD.

MESSAGE COMMUNICATION:- MESSAGE COMMUNICATION IS GENERALLY
USED WHEN OBJECT WANTS TO COMMUNICATE WITH EACH OTHER..

Is This Answer Correct ?    2 Yes 0 No

features of OOPS..

Answer / sudhanshu mishra

class,objects,inheritance,encapsulation,constructor,abstrcti
on,polymorphism.

Is This Answer Correct ?    1 Yes 0 No

features of OOPS..

Answer / pari

class:- classes are set of objects that share common
structure & common behavior. Contain data & fun to
implement structure and behavior of obj.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More OOPS Interview Questions

Why is abstraction used?

0 Answers  


why the argument is passed by reference to a copy constructor?example?

2 Answers  


Write 7 differences between "Public" function and "Private" function?

2 Answers   IBM, Wipro,


What is the use of oops?

0 Answers  


Is data hiding and abstraction same?

0 Answers  






Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

0 Answers   CAT,


what is object slicing

3 Answers   TCS,


What is the important feature of inheritance?

0 Answers   BPL,


diff between Abstract class Interfaces?

4 Answers  


what is difference between objects and function

3 Answers  


What is multiple inheritance?

9 Answers   TCS,


What is polymorphism what is it for and how is it used?

0 Answers  


Categories