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
How many bits is a string in java?
What is arrays sort in java?
Explain about the interpreter in java?
What is a line break example?
Explain exception chaining in java?
What is the hashcode () and equals () used for?
What string is utf8?
What is a method vs function?
What is the super void?
Can we write method inside a method in java?
Can a constructor be protected?
When do I need to use reflection feature in java?
How do you achieve singleton?
How many bytes is string in java?
What is oop principle in java?