class A
{
public void disp(int a,int b)
{
System.out.println("hai");
}
}
class B
{
public void disp(int a,int b,int c)
{
System.out.println("hai");
}
}
above program is overloading or overriding?
Answer Posted / anusha
IT IS METHOD OVERLOADING
Is This Answer Correct ? | 4 Yes | 13 No |
Post New Answer View All Answers
What exceptions occur during serialization?
How can you handle java exceptions?
how to create multithreaded program? : Java thread
What is runtime locatable code?
What is maximum size of arraylist in java?
Is a class subclass of itself?
What is package protected in java?
What is charat java?
When is the garbage collection used in Java?
What is e in java?
What is the purpose of void?
What is the significance of java packages?
What is the difference between class forname and new?
Why we use multi threading instead of multiprocessing?
How is it possible for two string objects with identical values not to be equal under the == operator?