Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: clarified: private methods cannot be hidden

...

Wiki Markup
Technically, a private method cannot be hidden or overridden. There is no requirement that private methods with the same signature in the subclass and the superclass bear any relationship in terms of having the same return type or {{throws}} clause, athe necessary conditionconditions for _hiding_. \[[JLS 05|AA. Java References#JLS 05]\]

...