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
What is the difference between a mixin and inheritance?
What is multilevel inheritance?
What is property in oops?
Which language is pure oop?
What does no cap mean?
Can you explain polymorphism?
Whats oop mean?
What do you mean by variable?
What are the three parts of a simple empty class?
Can we create object of interface?
Why is polymorphism needed?
What is encapsulation example?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is class and example?
Why is polymorphism important in oop?