ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Programming Languages >> C++ >> OOPS
 
 


 

 
 STL interview questions  STL Interview Questions (91)
 OOPS interview questions  OOPS Interview Questions (558)
 C++ General interview questions  C++ General Interview Questions (458)
Question
features of OOPS
 Question Submitted By :: OOPS
I also faced this Question!!     Answer Posted By  
 
Answer
# 11
. 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
Vijender Singh
 
Answer
# 12
Classes
objects
Encapsulation
Inheritance
Polymorphism
 
Is This Answer Correct ?    9 Yes 2 No
Abhijeet Sinha
 
Answer
# 13
class
object
encapsulation
abstraction
inheritence
message passing
dynamic binding
 
Is This Answer Correct ?    11 Yes 5 No
Kolla Pavan
 
Answer
# 14
Tme main advantages of OOPs are

1.Code reusability
2.Program code reduction
 
Is This Answer Correct ?    11 Yes 5 No
Ramaiah.teepalapudi
 
Answer
# 15
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
Shivam`
 
Answer
# 16
object,class,polymorphism,inheritance,dynamic binding,message
passing,abstraction,encapsulation.
 
Is This Answer Correct ?    4 Yes 2 No
Chinni
 
Answer
# 17
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
Shahid
 
Answer
# 18
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
Swati Kashyap
 
Answer
# 19
class,objects,inheritance,encapsulation,constructor,abstrcti
on,polymorphism.
 
Is This Answer Correct ?    1 Yes 0 No
Sudhanshu Mishra
 
Answer
# 20
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
Pari
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
Describe what an Interface is and how it?s different from a Class. Spinsys 7
WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT. HCL 4
WHEN A COPY CONSTER IS CALL ?   4
Difference between over loading and over ridding? CTS 12
When is an object created and what is its lifetime? IBM 4
What do you mean by inline function?   6
1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier for interface 5. default modifier for class 6. base class for exception 7. diff bet trigger and view in sql 8. how to exchange values from one page to another page 9. can multiple catch block ll be executed at same time 10. can u store different data types in an array & array list 11. when we ll use trigger 12. try,catch,finally usage   2
what is the difference between class to class type conversion and copy constructor ?   2
to remove the repeated numbers from the given . i.e.., if the input is 12233 output should of 123   2
Write a macro for swapping integers   5
what is the realstic modeling?   1
Difference between vector and array   2
 
For more OOPS Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com