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 / vijaya mahesh
It is neither overloading nor overriding
| Is This Answer Correct ? | 44 Yes | 4 No |
Post New Answer View All Answers
How to calculate the length of a singly linked list in java?
Explain about join() method?
What’s the difference between constructors and other methods?
What do you mean by checked exceptions?
What is the use of singleton?
What is the difference between keyword and identifier?
Can we use string in switch case in java?
How thread scheduler schedule the task?
How do you calculate square roots?
What are the Static and Dynamic Variables? Differentiate them.
What is a byte string?
What is jrmp?
What is the difference between a field variable and a local variable?
What is the integer of 16?
What is the final keyword denotes?