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.
- JUnit is a Java testing framework that allows you to write automated unit tests for your code
- Code coverage is the % of your source code that has been tested by a testing suite
- Testing your code is a vital part of the software development lifecycle. Writing automated tests are the most popular way to test code
Lecture Recording
Lecture Slides
Code