Distinguish method overloading and method overriding
Answer Posted / sushila
method overloading is method name should be same but
signature should be different.
method overriding is method name and arguments should be
same but return type will be same or wider.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is a class object?
what is thread in Java ?
When would you use a static class?
Give me some null interfaces in java?
What is a line break?
Is 0 true or false?
What is the purpose of using break in each case of switch statement?
Can a constructor be made final?
Is zero a positive integer?
Can an unreferenced object be referenced again?
Explain the significance of listiterator.
What is a finally block?
What is the longest unicode character?
What is the purpose of return statement?
What is a method signature java?