Difference between Overloading and Overriding in Java

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

Difference between Overloading and Overriding in Java

Difference between method overriding and method overloading is one of popular core java interview question which explores powerful polymorphism concep
http://javarevisited.blogspot.com/2011/12/method-overloading-vs-method-overriding.html
  • Total Hits: 14611

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 146 votes

  • Category: JAVA/Core JAVA

  • Submitted on: 2012-01-05 15:00:50

  • Submitted By: Javin Paul

  • Set as Favorite

Description:

Difference between method overriding and method overloading is one of popular core java interview question which explores powerful polymorphism concept in java.Another important point is Exception handling, overridden method can not throw wider exception than original method. method overloading and overriding allows to having two methods with same name but different signature in case of overloading and same signature in case of overriding.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 39.73%  58
 Two starsTwo star  Vote LeftVote MiddleVote Right 9.59%  14
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 11.64%  17
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 10.27%  15
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 28.77%  42

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.





Advertisements
Advertisements