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
What is stream api in java8?
What is meant by call by reference?
What things should be kept in mind while creating your own exceptions in java?
What is variable declaration and definition?
Which class cannot be a subclass in java?
What is an exception in java?
What does the three dot emoji mean?
what is use of functional interface in java 8?
What is listnode in java?
What is java and its types?
Is minecraft 1.15 out?
Explain tree set and its features?
What is the difference between delete and delete[]
What methodology can be utilized to link to a database?
Difference between ‘is-a’ and ‘has-a’ relationship in java?