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
Does A Class Inherit The Constructors Of Its Superclass?
Explain the significance of listiterator.
How do you sort arraylist in descending order?
What is the effect of keeping a constructor private?
Can we have two methods in a class with the same name?
Does printwriter create a file?
Why there are some null interface in java? What does it mean?
what do you understand by the term string with respect to java?
Write a program to print all permutations of string?
Can singleton class be cloned?
What is application system?
Is array an object in java?
What is blank final variable?
What are static initalizers in java ?
What does a method signature consist of?