Lecture Outline
- Generics allow us to use a "wildcard" data type, which can be any data type (Integer, String, Student, etc). Generic data types are indicated by E OR T in angle brackets. Generics are very useful when we might not know what data type we will be working with ahead of time
- Switch/case is a java construct very similar to if/else.
Lecture Recording
Lecture Slides
Code