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 overloading and how can this be done ?

Answer Posted / mahesh babu ummaneni

overloading is nothing but method name is same but perameters is different.
for example
class overloading
{
public void add(int x)
{
console.writeline("sum");
}
public void add(int x,int y)
{
console.writeline("THE SUM IS:"+(x+y));
}
}

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dll in vb.net?

930


Why delegates are required?

940


What is difference between property and variable in c#?

860


Explain the difference between .net and c#?

917


Why do we need to override in c#?

952


Where do we use static class in c#?

901


Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?

1038


Is c# slower than java?

874


Explain the process of abstraction with an example?

926


What is the difference between dynamic type variables and object type variables in c#?

865


What is Fragmentation and its Types?

989


What is scope c#?

858


What are custom exceptions?

908


What are the types of class in c#?

1059


Where is c# compiler located?

902