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 (93)
 OOPS interview questions  OOPS Interview Questions (563)
 C++ General interview questions  C++ General Interview Questions (459)
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
 
In which cases you use override and new base?   2
Pls...could any one tell me that whether we can access the public data memeber of a class from another class with in the same program. Awaiting for your response Thanku   4
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile CTS 1
what is function overloading..?   4
What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.   2
What do we mean by a hidden argument in C++?   1
Write a program to multiply 3x3 matrics   1
WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT) TCS 1
what is the difference between <stdio.h>and "stdio.h"?   5
What is virtual class and friend class? Intel 5
what is the difference between containership and inheritence?   1
what is mean by design pattern   4
 
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