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

sir i want to know which posting to apply since i am BE CSE.. also want to know what are the rounds there for my interview...Expecting for ur valuable answer....

2 Answers  


What is encapsulation in ict?

0 Answers  


Can we create object of abstract class?

0 Answers  


Difference between realloc() and free?

9 Answers   HP,


What is function overloading and operator overloading?

4 Answers  


What is polymorphism ? Explain with examples

8 Answers   Ness Technologies,


Do you know about multiple inheritance?

1 Answers   Motorola,


Can we call a base class method without creating instance?

6 Answers  


What is a class?

32 Answers   Infosys, TCS, Thylak,


What is the difference between the C & C++?

9 Answers   HCL,


What is constructor in oop?

0 Answers  


What is the difference between const int *ptr and int const *ptr???

2 Answers  


Categories