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 / shrirang & chetak
yes, above program is overloading the disp() method
Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
What is stringwriter?
What is the difference between dom and sax parser in java?
whatis Home interface and Remoteinterface? with example?
What is difference between calling start() and run() method of thread?
Can we have this () and super () together?
What is ph and buffers?
What is meant by interface?
Difference between this() and super() in java ?
What are the advantages of java?
how we can make a write-only class in java?
How do you do a line break in java?
Why is java called java?
Differentiate between a class and an object.
How do I know if java is installed?
What do you understand by synchronization?