Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In OverLoading concept,Why they are not consider return
value and why they are consider only parameters in method?
For ex: public int Add(int a,int b){...}
public String Add(int a,int b){...}



In OverLoading concept,Why they are not consider return value and why they are consider only param..

Answer / brunda r

Because, if at all the return value is same then compiler
should identify the functions by their parameters.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More OOPS Interview Questions

What is DeadlyDiamondDeathProblem ?

1 Answers  


what do you mean by static member variable?

2 Answers  


write a program to find 2^n+1 ?

0 Answers   CTS,


Can private class be inherited?

0 Answers  


who is the founder of c++?

15 Answers   Hexaware, ONGC,


When is a memory allocated to a class?

11 Answers  


How to overload new operator in c++

2 Answers  


Why is destructor used?

0 Answers  


What do you mean by inheritance?

0 Answers   IBS,


Which is not an object oriented programming language?

0 Answers  


what is a virtual class?

5 Answers   Cap Gemini, IBM, Infosys, Trinity Technologies,


Why do we use oop?

0 Answers  


Categories