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){...}

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism in oops with example?

972


Write a c++ program to display pass and fail for three student using static member function

3326


What is an interface in oop?

984


What is the diamond problem in inheritance?

1072


What do you mean by overloading?

1024


What is the problem with multiple inheritance?

1095


2. Give the different notations for the class.\

2082


Explain virtual inheritance?

1126


What is the difference between procedural programming and oops?

1059


how to get the oracle certification? send me the answer

2100


What is polymorphism oop?

1008


write a programe to calculate the simple intrest and compund intrest using by function overlading

2130


What are functions in oop?

997


What is solid in oops?

1040


What does I oop mean?

1021