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

List the different types of classloaders in java.

727


What is map and hashmap in java?

826


What is the difference between an inner class and a sub-class?

723


What are methods?

766


What are keywords and reserved words in java?

789


What one should take care of, while serializing the object?

673


Is null a string?

763


What ide should I use for java?

727


How to perform linear search in java?

755


What is abstraction in java?

826


Can you call one constructor from another if a class has multiple constructors?

796


What are 5 boolean operators?

843


What do you mean by compiler?

808


What does || mean in vectors?

704


What is anagram number?

652