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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   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 ?    1 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 ?    1 Yes 0 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 ?    2 Yes 0 No
SuganyaMuralidharan
 
  Re: What are the different forms of polymorphism??
Answer
# 4
Existing in more than one form.
 
Is This Answer Correct ?    0 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
 
Which is the parameter that is added to every non-static member function when it is called?  3
is java purely oop Language? Infosys22
Which is the only operator in C++ which can be overloaded but NOT inherited?  3
to remove the repeated numbers from the given . i.e.., if the input is 12233 output should of 123  1
Can we have a private constructor ? Ness-Technologies8
polymorphism means? BFL2
What is the difference between and interface and an abstract class ? Ness-Technologies2
What is a scope resolution operator? HP4
What is abstraction?  6
Why do we use virtual functions?  3
What is friend function? Wipro3
How Do you Code Composition and Aggregation in C++ ? IBM1
What is the Advantage of Interface over the Inheritance in OOPS?  2
What are the different forms of polymorphism?? PCS5
What are virtual functions?  2
WILL I GET A guaranteed JOB AFTER DOING bsc()IT) and GNIIT from an NIIT CENTRE?? Biocon1
What does the code "cout<<(0==0);" print? 1) 0 2) 1 3) Compiler error: Lvalue required  5
difference between overloading and overridding  2
how can we design a magic square in c++?or suggest me the basic idea of it.  1
the difference between new and malloc Siemens3
 
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