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 / arun
Since two class are not in a not related to each other so
this is neither overloading nor overriding
Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Is java util list serializable?
What things should be kept in mind while creating your own exceptions in java?
What is an 8 bit word?
Is it possible to specify multiple jndi names when deploying an ejb?
Give few examples of final classes defined in Java API?
What are different types of multitasking?
What is return used for in java?
What is exception handling in java?
What is fail fast in java?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
how we can create packages in java?
Can I use % with real numbers?
Where are the card layouts used?
What are wrapped classes in java programming?
What is unicode full form?