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
Which number is denoted by leading zero in java?
Why is singleton instance static?
How can we create a thread in java?
What is data type example?
Is the empty set a singleton?
Can we overload the main() method?
What is anagram of a string?
Can you explain inner class.
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
Is stringwriter thread safe?
What are the 2 types of java programs?
Why do we need array in java?
What is literal example?
Is void a return type?
Is the milky way in a void?