what is function over loading?
Answers were Sorted based on User's Feedback
Answer / dibyakishore pattanaik
Same function name can be used for different purpose
depending upon three factors i.e number of arguments, type
of arguments and order of arguments in the function
declaration. This is resolved at compile time by the
compiler.
Is This Answer Correct ? | 24 Yes | 0 No |
Answer / abhishek singh
Same Function Name with Diffrent Parameters(argument)
called function over loading.
Ex-1
public Functin Sqlquery(by val user id as string,by val
passowrd as string)
public Functin Sqlquery(by val From as string,by val To as
string)
Here u can see same name of function with different
parameters
Thanks & Regards
Abhishek singh
09709109796
abhishek_singh156@yahoo.com
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / anjana
FUNCTION OVER LOADING:
*two or more function having same name they are said to be function over loading
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / prabhakar
defining a function with a same name with differ in number of arguments r return type r tpe of arguments in one class is called funstion overloading.
for example
class base
{
public:
fun(int a,int b);
fun(char a,char b);
}
above two functions are diffrer in type of arguments.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / deepika sharma
when two functions with same name is used in java program
then this method is called as function overloading
Is This Answer Correct ? | 3 Yes | 6 No |
Write a C++ program to conduct an election of a mayor.Declare a class ELECTION With the following specification: Data member: Name 25 character Age Integer symbol 1 character Member functions: To accept data for 20 contestant To accept symbol as voting from 100 voters. To declare the winner and the loser.
1 Answers Global Academy, Infotech,
what is difference between class template and template class?
What are the OOPS concepts?
106 Answers A1 Technology, Bajaj, CTS, EDS, HP, Infosys, Intel, Microsoft, MNC, Persistent, PlanetSoft, ProConstructor, TCS, Virtusa, Wipro, YSoft Solutions,
OOP'S advantages of inheritance include:
string is a class or data type in java?
Explain virtual inheritance?
Why many objects can working together? How objects working togetherM I want to see example code.
What is polymorphism programming?
What is inheritance write a program to show use of inheritance?
We have a scale and 7 balls. 1 ball is heavier than all the rest. How to determine the heaviest ball with only 3 possible weighing attempts?
What are the advantages of inheritance?
26 Answers IBS, TCS,
how to write a java program for an output ****0 ***01 **012 *0123 01234