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 to restrict a member of a class from inheriting by its sub classes?
What is a numeric digit?
Explain the difference between runnable and callable interface in java?
How to sort an array from smallest to largest java?
Can I declare a class as private?
What is included in core java?
Explain with example the concept of constant variable in java.
What is wrapper class example?
What do you mean by order of precedence and associativity?
Is sizeof a keyword in java programming?
what is predefined function in java?
List out five keywords related to exception handling ?
Similarity and difference between static block and static method ?
What is unicode datatype?
What does serializing data mean?