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 class encapsulation?

1099


i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<

1863


write a program to find 2 power of a 5digit number with out using big int and exponent ?

2388


write string class as your own class in java without using any built-in function

2504


What is the renewal class?

2763


Why do we use encapsulation in oops?

1043


What is the purpose of polymorphism?

1128


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2613


write a C++ program for booking using constructor and destructor.

2546


What is abstract class in oops?

1026


What are objects in oop?

1112


What is the diamond problem in inheritance?

1141


Explain the concepts involved in Object Oriented programming.

1245


What are the 4 pillars of oop?

1151


What does and I oop and sksksk mean?

1162