Chapter 8: Interfaces and Polymorphism
Major Concepts
After completing everything in this chapter, you should be able to understand the following:
- What polymorphism is.
- What interfaces are and the difference between interfaces and abstract classes.
- Different interfaces that are a part of Java, and how they can be used in our code.
- Best practices around unit tests and interfaces.
Key Terminology
- Polymorphism
- Interface
- Method signature
- Default method
Comparable<T>
Comparator<T>
Iterable<T>
List<E>
Map<K,V>