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

i have 2 functions, int add(int a,int b);
double add(int a,int b); does this code implement
overloading? if not what will be the error?

Answer Posted / manoj gharat

it will throw compile error because of same parameter's
data type in second overloaded function.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about .Net products?

1067


What is finalize method in .net?

1069


How can you instantiate a tuple?

947


Explain how garbage collection works?

956


Explain what is the difference between response.redirect & server.transfer?

1033


What is meant by localization?

1097


How to get the number after decimal point in .net?

954


How many types of design patterns available in .NET?

984


Difference between abstract class and interface in .net?

1016


How many design patterns can be created in .net?

952


Who is using .net core?

929


One user deleted one row after that another user through his dataset was trying to update same row. What will happen? How will you avoid this problem?

913


Explain what is an anonymous method and how is it different from a lambda expression?

889


What is .net latest version?

986


Explain how does assembly versioning work?

966