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                      
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 is Method overloading?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is Method overloading?
Answer
# 1
Method overloading occurs when a class contains two methods 
with the same name, but different signatures
 
Is This Answer Correct ?    0 Yes 0 No
Swetcha
[Semanticspace]
 
  Re: What is Method overloading?
Answer
# 2
when a class has two same method names with different
parameters then it is called method overloading
 
Is This Answer Correct ?    0 Yes 0 No
Anandan
 
 
 
  Re: What is Method overloading?
Answer
# 3
a class can have more than one method with same function 
name but different in parameter passing is said to be 
method overloading
 
Is This Answer Correct ?    0 Yes 0 No
Saranya
 
  Re: What is Method overloading?
Answer
# 4
A class having more then two method with the same name but 
different signature.
 
Is This Answer Correct ?    1 Yes 0 No
Abhishek Kumar
 

 
 
 
Other OOPS Interview Questions
 
  Question Asked @ Answers
 
write a c++ program to find maximum of two numbers using inline functions.  1
what is the usage of clas templates  5
suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call? EA-Electronic-Arts2
What is R T T I ? Ness-Technologies3
write a program for function overloading?  4
to remove the repeated numbers from the given . i.e.., if the input is 12233 output should of 123  1
What do you mean by pure virtual functions?  4
In which cases you use override and new base?  1
What are the main differences between procedure oriented languages and object oriented languages?  4
WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT.  3
What is the difference between const int *ptr and int const *ptr???  2
When a private constructer is being inherited from one class to another class and when the object is instantiated is the space reserved for this private variable in the memory?? Honeywell12
all about pointers  1
Difference between new operator and operator new  2
Why a "operator=(...)" when there is a copy ctor?  2
what is the need of abstraction? what is abstraction?what is the abstraction for stack? Verizon5
//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 meant by files? Infosys2
What is the Advantage of Interface over the Inheritance in OOPS?  2
WHEN A COPY CONSTER IS CALL ?  1
 
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