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 general methodology?

1100


How to reverse string in java?

1267


What is entry in java?

1077


Why string objects are immutable in java?

1086


Explain how can you debug the Java code?

1114


Explain the difference between static and dynamic binding in java?

1113


What is static and final keyword in java?

1073


What is time complexity java?

1044


Does garbage collection occur in permanent generation space in jvm?

1139


What does business logic mean?

1048


Garbage collection in java?

1066


How is it possible in java programming for two string objects with identical values not to be equal under the == operator?

1060


Where are local variables stored?

1016


What is tcp ip in java?

1158


What is comparable and comparator interface? List their differences

1149