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
How define set in java?
What is enhanced loop in java?
What are the benefits of java?
Explain the difference between association, aggregation and inheritance relationships.
What happens when a thrown exception is not handled?
What is the right data type to represent a price in java?
What is difference between class and object in java?
How to create an interface?
What is qms certification?
What are the differences between c++ and java?
What are variable names?
What is the size of boolean variable?
What about interthread communication and how it takes place in java?
Why is multiple inheritance not supported in java?
Is java 11 paid version?