ALLInterview.com :: Home Page KalAajKal.com
 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                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  OOPS
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
What are the different forms of polymorphism??
 Question Submitted By :: Kshiti
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are the different forms of polymorphism??
Answer
# 1
(1). Operator overloading.
(2). Function overloading.
(3). Virtual functions
 
Is This Answer Correct ?    2 Yes 0 No
Purba Phalguni Mishra
 
  Re: What are the different forms of polymorphism??
Answer
# 2
A.) Runtime POLYMORPHISM

B.) Compiletime POLYMORPHISMS.,
 
Is This Answer Correct ?    2 Yes 1 No
Sriram
 
 
 
  Re: What are the different forms of polymorphism??
Answer
# 3
1.Compile time polymorphism
Exhibited by: Function overloading
              Operator overloading
2.Run time polymorphism
Exhibited by: Function overriding
 
Is This Answer Correct ?    4 Yes 0 No
SuganyaMuralidharan
 
  Re: What are the different forms of polymorphism??
Answer
# 4
Existing in more than one form.
 
Is This Answer Correct ?    1 Yes 1 No
Sri
 
  Re: What are the different forms of polymorphism??
Answer
# 5
Though there are many answers which are all true to some 
extent, I would like to conclude all these into two broad 
categories:

1. Ad-hoc polymorphism
2. Parametric polymorphism

As the meaning of the names themselves suggests their usage.

 If the range of actual types that can be used is finite 
and the combinations must be specified individually prior 
to use, it is called Ad-hoc polymorphism. 

If all code is written without mention of any specific type 
and thus can be used transparently with any number of new 
types, it is called parametric polymorphism.
 
Is This Answer Correct ?    1 Yes 0 No
Mms Zubeir
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
what is SPL in c++.  1
what is multi level inheritance give n example ? Ness-Technologies3
DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING.  4
When is an object created and what is its lifetime? IBM2
Definition of Object Oriented Programming in single line? TCS19
should we use linear search or binary search if elements are placed in random order or mixed?in both cases? i need a little bit detail ans?thnks  2
What is the different between Applet and Application?  2
difference between overloading and overridding  6
In what situation factory design patterns,DAO design patterns,singleton design patterns should be applied.?  2
Which is the only operator in C++ which can be overloaded but NOT inherited?  4
What is the difference between and interface and an abstract class ? Ness-Technologies4
Why a "operator=(...)" when there is a copy ctor?  2
//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }  1
what is the need of abstraction? what is abstraction?what is the abstraction for stack? Verizon5
what is polymorpsim? what are its types?  5
what is a virtual class? Cap-Gemini2
What are the advantages of inheritance?  8
can main method be overloaded...??? How..???? Satyam1
why we call c++ is object oriented lanaguage HCL2
Write 7 differences between "Public" function and "Private" function? IBM2
 
For more OOPS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com