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.
- Wrapper classes are a way to represent a primitive data type as a Java object
- We can write unit tests to create automated tests for our Java code using JUnit
- Ideally, we want 100% code coverage when we test our programs, but it often times is not feasable
Lecture Recording
Lecture Slides
Code