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


Please Help Members By Posting Answers For Below Questions

What is a class object?

708


what is thread in Java ?

919


When would you use a static class?

770


Give me some null interfaces in java?

826


What is a line break?

821


Is 0 true or false?

735


What is the purpose of using break in each case of switch statement?

796


Can a constructor be made final?

898


Is zero a positive integer?

786


Can an unreferenced object be referenced again?

956


Explain the significance of listiterator.

795


What is a finally block?

774


What is the longest unicode character?

907


What is the purpose of return statement?

839


What is a method signature java?

827