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
Can we create constructor in abstract class ?
State two differences between C and Java.
Are generics important java?
Why string is immutable or final in java
Can we cast any other type to boolean type with type casting?
What is pangram in java?
What is nullpointerexception?
What is a treeset in java?
What are the core java topics?
What is the purpose of a default constructor?
What is byte [] in java?
What is the difference between checked exception and unchecked exception?
Is object a data type?
Explain the difference between an Interface and an Abstract class?
What is javac in java?