Java Generics Tutorial - 05 - Generics and WildCards - Upper Bound and Lower Bound

preview_player
Показать описание
Java Generics Tutorial. Generics and WildCards Upper Bound and Lower Bound.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Our Top 10 Courses
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30+ Courses. 500,000+ Learners. Amazing Reviews.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FREE Courses For You
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Other Recommendations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Step By Step Details
~~~~~~~~~~~~~~~~~~~~~
- Step 01 - Introduction to Generics - Why do we need Generics?
- Step 02 - Implementing Generics for the Custom List
- Step 03 - Extending Custom List with a Generic Return Method
- Step 04 - Generics Puzzles - Restrictions with extends and Generic Methods
- Step 05 - Generics and WildCards - Upper Bound and Lower Bound
Рекомендации по теме
Комментарии
Автор

It the wildcard of the list is <? extends Number> why can I add subclass of Number like float and Integer? I tought super would in this case only allow Number and the classes above Number, and not the subclasses. It doesn't make any sense to me

lillol
Автор

I must say that you go a bit quickly (some things were not explained, especially what you mentioned in the end), but your video was good and I gave it a thumbs up.

natasja