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


Please Help Members By Posting Answers For Below Questions

What is the length of a string?

526


Is c better than java?

547


How can we make a class singleton?

580


What is ide with example?

549


What is overloading and overriding in java?

662






What is the order of arraylist in java?

612


What do you understand by the term string pool?

570


What is boolean flag in java?

580


What is composition in java?

730


What is a key in java?

505


What is difference between add() and addelement() in vector?

1071


What class allows you to read objects directly from a stream in java programming?

515


What is function and method in java?

525


How many digits can a float hold?

537


What is the purpose of using javap?

620