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

Have you ever interfaced with a database?

2 Answers   IBM,


What is the purpose of enum?

0 Answers  


1. Define a class.

6 Answers  


What is inheritance and how many types of inheritance?

0 Answers  


what is an instance of a class

5 Answers  


What do you mean by inline function?

6 Answers  


Get me an image implementation program.

0 Answers  


Why do we need polymorphism in c#?

0 Answers  


What is abstract class in oops?

0 Answers  


What does the keyword "static" mean?

4 Answers   TCS,


What is the expansion of OOPS?

24 Answers   TCS,


Can we create object of class with private constructor?

5 Answers  


Categories