Discord Community: / discord
GitHub Repository: https://github.com/geekific-official/
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:
Object-Oriented Programming Fundamentals: • What is Object-Oriented Programming? ...
SOLID Principles and Best Practices: • SOLID Design Principles with Java Exa...
Recursion Made Simple, Recursive Methods: • What is Recursion? | Recursion Made S...
Use-Case and Sequence Diagrams: • UML Use-Case and Sequence Diagrams Ma...
What is a Thread? (Process, Program, Parallelism, Scheduler Explained): • What is a Thread? | Threads, Process,...
Generics and Wildcards in Java Made Simple: • Generics and Wildcards in Java | Part...
Java's Stream API Explained with Examples: • Java Stream API Explained with Exampl...
Maps Implementation in Java (Chaining and Open-Addressing): • Map Implementation in Java | Implemen...
#Geekific #Generics #Wildcards #Invariance #Covariance #Contravariance
Watch video Generics and Wildcards in Java | Part 2 | Invariance vs Covariance vs Contravariance | Geekific online without registration, duration hours minute second in high quality. This video was added by user Geekific 23 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 13,499 once and liked it 529 people.