Difference between Overloading and Overriding in Java

Tutorials Shared by the Internet Community

Advertisements


Synopsis

Difference between method overriding and method overloading is one of popular core java interview question which explores powerful polymorphism concep

Statistics

  • Total Hits - 22173

  • Total Votes - 123 votes

  • Vote Up - 52 votes

  • Vote Down - 71 votes

  • Domain - javarevisited.blogspot.com

  • Category - JAVA/Core JAVA

  • Submitted By - Javin Paul

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

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. ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements