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...

What is method Overloading in the perspective of OOPS?

Answer Posted / kabita

In same class more than two methods having same name but
different signatures are called method
overloading .signatures are
no of parameters,datatypes of parameters,sequence of
parameters.returntype may same or not.

ex:public int add(int a,int b)
{
S.o.p(a+b);
}
public int add(int a,int b,intc)
{
S.o.p(a+b+c);
}
public double add(double d,double e)
{
S.o.p(d+e);
}

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the public field modifier?

1020


What do you mean by collectors in java 8?

928


What does i ++ mean in Java?

943


How is abstraction implemented in java ?

992


How do generics work in java?

1021


What language is java written?

1010


What is matcher in java?

980


Explain about data types?

1077


Which is better ascii or unicode?

988


What are the two environment variables that must be set in order to run any java programs?

960


Difference between Preemptive scheduling vs. Time slicing?

1015


What is java used for on a computer?

987


What are different types of inner classes ?

1043


Explain some best practices you would apply while using collection in java?

1028


Can static methods be inherited?

1038