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 / anusha
IT IS METHOD OVERLOADING
Is This Answer Correct ? | 4 Yes | 13 No |
Post New Answer View All Answers
Detail discussions on JVM, memory management and garbage collector.
Where to store local variables?
What is the difference between scrollbar and scrollpane?
What is the advantage of functional interface in java 8?
What is ‘has a’’ relationship in java?
Can a class extends itself in java?
What is general methodology?
What is map java?
Can you give names of Container classes?
What access modifiers can be used for methods?
What is the string function?
What does s mean in regex?
What is super keyword explain with example?
Explain the differences between static and dynamic variables?
What happens if constructor is private?