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 are the differences between checked exception and unchecked exception?
What is set in java?
What is generic type?
How do you make a thread in java?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?
What is method in research paper?
What is java instanceof operator?
What's the purpose of using break in each case of switch statement?
How can u increase the heap size in the memory?
What is meant by local variable and instance variable?
What is 16 bits called?
What is use of inner class in java?
What is garbage collection? Can it be forced to run?
What is rmi and steps involved in developing an rmi object?
Can singleton class be serialized?