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
Is string is a class in java?
Which software is used for java programming?
Explain the purpose of garbage collection in Java?
How java uses the string and stringbuffer classes?
Similarity and difference between static block and static method ?
Why we do exception handling in java and how many types of exceptions are there?
List types of storage classes in java?
Explain java thread life cycle.
What is lifetime variable?
What does string [] args mean?
What is the list interface?
What do you mean by a JVM?
What do you mean by exception handling in Java?
What are the rules for naming an array?
Is java map thread safe?