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 are desktop procedures?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
Difference between this() and super() in java ?
Is overriding possible in java?
Can we split string with in java?
When is update method called?
How to store image in arraylist in java?
is there a separate stack for each thread in java? : Java thread
What is the difference between abstract class and interface1? What is an interface?
Explain the scope of a variable.
What if I write static public void instead of public static void in java?
What is nullpointerexception?
Do we need to manually write Copy Constructor?
What is the definition of tree ?
Why does java have two ways to create child threads?