We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

Adri├ín Szegedi • 2 years ago

In the code snippet under "Contravariant collections" section with class Generics the class Dog is missing.

s1m0nw1 • 2 years ago

Thanks I fixed that

romainbsl • 2 years ago

Really nice article.
Wonderful way to explain Generics and Variance with runnable examples !

s1m0nw1 • 2 years ago

Thanks a lot

314R • 2 years ago

There are two "Declarion-site" in the text, typo maybe?

s1m0nw1 • 2 years ago

Hi, I don't quite know what you mean exactly, Can you point out the sentences please?

peterso • 2 years ago

You mistyped "declaration" as "declarion" at three points in the post, just Ctrl+F it :) Didn't notice until I read this comment though.