March 15, 2010
Joe Darcy: Beware of Covariant Overriding in Interface Hierarchies.
One of the changes to the Java programming language made back in JDK 5 was the introduction of
covariant returns, that is, the ability in a subtype to override a method in a supertype and return a more specific type. For example,
More »