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
What is the difference between an inner class and a sub-class?
How to check if linked list contains loop in java?
What are static variables and functions?
Why is boolean important?
What is the purpose of lambda expressions?
What are generic methods?
Is java code slower than native code?
What is a ternary operator in java? What is an interface?
What does next mean in java?
What is the purpose of the return statement?
How can we make string upper case or lower case?
What is the purpose of garbage collection in java?
What is application system?
Can string be considered as a keyword?
What should I import for arraylist in java?