What is method Overloading in the perspective of OOPS?
Answer Posted / md.meraz uddin
The system which have diffrent method in same class or same signature i.e inheritance , polymorphism etc that is called overlaoding.
For example:-
class A
{
public void add(int a, int b);
System.out.println(a+b);
}
public void add(int c,int d,int e);
{
System.out.println(c+d+e);
}
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is parsing in java?
What are the various access specifiers for java classes?
How do you sort an array in java?
Explain about oops concepts.
What is data type example?
What is method in research paper?
What is incompatible types in java?
What is a default method?
What do you understand by final value?
Explain the concept of proper inheritance?
Why put method is used?
How do I get a substring?
Explain about fail fast iterators in java?
Explain what is encapsulation?
What is the difference between array list and vector in java?