Distinguish method overloading and overriding

Answer Posted / anita kumari

In case of overloading signature should be different.
In case of overriding signature should be shame. Return type should be same. And acess level will be same or wider.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if u open login & logout ,how can udisplay the timelogin & logout members ?

1754


When we serialize an object does the serialization mechanism saves its references too?

505


What is data and its types?

571


What is an object in java and how is it created?

588


What is the current version of java?

537






How do you get length in java?

557


What are locale settings?

551


Who developed java?

567


Can anonymous class have constructor?

550


How to sort list of list in java?

661


Which is best ide for java?

520


What does it mean that a class or member is final?

559


What is a java list?

579


What is the difference between comparison done by equals method and == operator?

571


What is gui programming?

516