Distinguish method overloading and method overriding
Answer Posted / sarbbottam bandyopadhyay
For method overloading the return type have to be same. Only the number of argument or type of argument or both will be different. But return type have to be the same.
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
What is the difference between equals() and?
How does varargs work in java?
What is an immutable object? How do you create one in java?
What happens if we don’t define serial version uid?
What is sortedset in java?
Explain Basics of OOP Language in java
What is the latest version of java?
What is the purpose of return statement?
Can we have two methods in a class with the same name?
How can a gui component handle its own events in java programming?
How to implement an arraylist in java?
Which is bigger float or double java?
What is the difference between jvm and jre? What is an interface?
Can a method inside a interface be declared as final?
How can you set an applet’s height and width as a percentage?