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 function overloading?,describe it with the example.

Answer Posted / jyoti lohani

A class having same name with the same function name but
having different parameter . the paramerter are sequence of
parameter, number of parameter, & types of parameter.
that's call function overloading.

EX:- public int fun(int a,int b);
public int fun(string a, string b)

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is destructor oops?

1081


What is multilevel inheritance explain with example?

1139


What is constructor in oop?

1096


write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.

2233


Can bst contain duplicates?

1188


What is for loop and its syntax?

1076


Can we define a class within the interface?

1028


What is a superclass in oop?

1169


What is pointer in oop?

1041


Why do we use encapsulation in oops?

1024


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

2363


What is polymorphism in oops with example?

1035


What is encapsulation in simple terms?

1030


Can a destructor be called directly?

1066


What is encapsulation with real life example?

1031