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 the purpose of the enableevents() method in java programming?
How is abstraction implemented in java ?
What is a key in java?
What are internal and external variables?
Why we override equals() method?
Which is better arraylist or vector?
Can we create an object of static class in java?
What is the function of character?
Why hashcode is used in java?
Can a constructor have different name than a class name in java?
What are bind parameters?
Where local and global variables are stored?
What are the different ways of creating thread?
How do weakhashmap works?
What is import java util arraylist?