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   interview questions urls   External Links  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
polymorphism means?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: polymorphism means?
Answer
# 1
It is a feature that allows one interface to be used for 
general class of actions. The specific action is determined 
by the exact nature of the situation. In general 
polymorphism means "one interface, multiple methods", This 
means that it is possible to design a generic interface to 
a group of related activities. This helps reduce complexity 
by allowing the same interface to be used to specify a 
general class of action. It is the compiler's job to select 
the specific action (that is, method) as it applies to each 
situation
 
Is This Answer Correct ?    1 Yes 0 No
Swetcha
[Semanticspace]
 
  Re: polymorphism means?
Answer
# 2
The above answer is well explained. In technical terms it
can be explained as same function name with different
signature. Signature means only interms of arguments, and
not for return types. The idea is very simple and is a
feature which make the end user comfortable, and as  Swetcha
said, it is finally the compiler will decide, which function
to call when, according to the type of data passed to the
function. 
eg. int add(int, int)
    double add(double, double)
    char add(char, char)

but the following is not possible
int add(int, int)
char add(int, int)
 
Is This Answer Correct ?    0 Yes 0 No
Sujith
 
 
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
what is object slicing? Wipro4
You have one base class virtual function how will call that function from derived class?  4
Why a "operator=(...)" when there is a copy ctor?  2
what is difference b/w object based and object oriented programming language? Infosys2
What is the difference between declaration and definition?  6
what is the difference between class and object?  3
can you explain how to use JavaBean in Project Infosys1
what is multi level inheritance give n example ? Ness-Technologies2
how to swap to variables without using thrid variable in java?  3
what is the need of abstraction? what is abstraction?what is the abstraction for stack? Verizon5
What is extreme programming?  2
WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT. HCL1
how to create thread in java? Infosys10
all about pointers  1
In what situation factory design patterns,DAO design patterns,singleton design patterns should be applied.?  1
What is a template?  5
Why u change company? BOB-Technologies3
different types of castings Siemens3
Have you ever used threads? IBM2
What is the difference between and interface and an abstract class ? Ness-Technologies2
 
For more OOPS Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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