Generics and Wildcards in Java | Part 2 | Invariance vs Covariance vs Contravariance | Geekific

preview_player
Показать описание

In one of Geekific’s very first videos, we discussed generics and wildcards. Today, we expand further on this topic by tackling the difference; when and why we should use the simple generic type, the non-bounded wildcard, the upper bounded wildcard and the lower bounded wildcard.

Timestamps:
00:00 Introduction
00:27 Generics, Wildcards and Invariance
01:39 Invariance vs Covariance vs Contravariance
05:37 Producer Extends Consumer Super (PECS)
07:12 Wildcards with Return Types
08:07 Thanks for Watching!

If you found this video helpful, check other Geekific uploads:

#Geekific #Generics #Wildcards #Invariance #Covariance #Contravariance
Рекомендации по теме
Комментарии
Автор

Sincerely, i dont understand why this kind of videos has only a few of Likes.. I'd like to think these are so cool that people finish, got hooked by the next suggested Geekific video, jump right into it and forgets the Like! GREAT JOB! 🤓

josemlucero
Автор

Of course we all will be waiting for the next chapters on this topic! 😎
Thank you once and once again for everything you do!

svalyavasvalyava
Автор

Such a great explanation! Truly a lifesaver.

fredxu
Автор

This is an Excellent Explanation..woow

theunusual
Автор

I urgently need more videos on generics because we make heavy use of them in our project. Superb content, you're videos have great value 👍

returncode
Автор

what exactly do you mean with consuming and producing @7:04 ?

giorgos