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
Explain about arraylist?
What are wrapped classes in java programming?
What are java packages? What's the significance of packages?
Explain java coding standards for variables ?
What is the difference between public, private, protected, and friend access?
Is array a class?
What is finalize()? Is finalize() similar to a destructor?
What does it mean to flush a file?
What is byte [] in java?
What is a consumer in java?
Explain about member inner classes?
What is the reason behind using constructors and destructors?
Is java 11 paid version?
How does java pattern compile work?
how to convert Java project into Maven ?