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 length of a string?
Is c better than java?
How can we make a class singleton?
What is ide with example?
What is overloading and overriding in java?
What is the order of arraylist in java?
What do you understand by the term string pool?
What is boolean flag in java?
What is composition in java?
What is a key in java?
What is difference between add() and addelement() in vector?
What class allows you to read objects directly from a stream in java programming?
What is function and method in java?
How many digits can a float hold?
What is the purpose of using javap?