Saturday, October 9, 2010

Covariant return types

Java SE5 adds covariant return types, which means that an overridden method in a derived class can return a type derived from the type returned by the base-class method.

No comments:

Post a Comment