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
What is the difference between heap memory and stack memory?
Can you sort a list in java?
What is the use of toarray () in java?
What is hash code collision?
What is the use of optional ?
What is java lang object?
What is the program compilation process?
describe method overloading
Write a program in java to find the maximum and minimum value node from a circular linked list.
What are the differences between stringbuffer and stringbuilder?
How do you sort in descending order in java using collections sort?
What is finally in Java?
What does string mean in java?
Can a source file contain more than one class declaration?
What is Recursion Function?