- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
#39 Why You Can’t Add to (List?) in #java?
Java Generics can be confusing — and this one gets everyone at some point.
You created a ListString, assigned it to a List?, and suddenly… you can’t add() anything? 🤯
In this video, I’ll break down:
What List? actually means
Why the compiler won’t let you add("HelloWorld")
How ?, ? extends T, and ? super T affect what you can read or write
The safe alternatives and best practices
🔐 Once you understand this, you'll never fear generics again.
💬 Comment your thoughts or Java pain points below!
Видео #39 Why You Can’t Add to (List?) in #java? канала Tech with Hazem
You created a ListString, assigned it to a List?, and suddenly… you can’t add() anything? 🤯
In this video, I’ll break down:
What List? actually means
Why the compiler won’t let you add("HelloWorld")
How ?, ? extends T, and ? super T affect what you can read or write
The safe alternatives and best practices
🔐 Once you understand this, you'll never fear generics again.
💬 Comment your thoughts or Java pain points below!
Видео #39 Why You Can’t Add to (List?) in #java? канала Tech with Hazem
Комментарии отсутствуют
Информация о видео
24 сентября 2025 г. 5:00:36
00:00:25
Другие видео канала





















