(?)
Quotes are added by the Goodreads community and are not verified by Goodreads. (Learn more)

“arrays are covariant. This scary-sounding word means simply that if Sub is a subtype of Super, then the array type Sub[] is a subtype of the array type Super[]. Generics, by contrast, are invariant: for any two distinct types Type1 and Type2, List is neither a subtype nor a supertype of List. You might think this means that generics are deficient, but arguably it is arrays that are deficient.”

Joshua Bloch, Effective Java : Programming Language Guide
Read more quotes from Joshua Bloch


Share this quote:
Share on Twitter

Friends Who Liked This Quote

To see what your friends thought of this quote, please sign up!

0 likes
All Members Who Liked This Quote

None yet!


This Quote Is From

Effective Java : Programming Language Guide Effective Java : Programming Language Guide by Joshua Bloch
8,036 ratings, average rating, 422 reviews

Browse By Tag