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 your platform’s default character encoding?
How is garbage collection controlled?
What is predicate in java?
What is a flag variable?
What is the difference between heap and stack memory?
What is OOP Language?
Why java is said to be pass-by-value ?
What are the benefits of operations?
How can you generate random numbers in java?
Write a java program to count the number of words present in a string?
Can I override protected method in java?
What are the main uses of java?
what is enumset?
How can you read an integer value from the keyword when the application is runtime in java? example?
What are the three parts of a lambda expression?