EXAMMINATION #2
Review Topics
Chapter 15 Java Collection Framework
- TreeSet and HashSet
- Review chapter 15 (pages 681-685)
- construct a HashSet or a TreeSet
- add and remove set elements
- visit all element in the set using an iterator and for each loop
- TreeMap and HashMap
- Review chapter 15 (686-691)
- construct a HashMap or a TreeMap
- add and remove elements to the map
- find all keys and values in a map, iterate through the key set and find the values that correspond to the key
- Review lecture notes
- Hash and hash table
- Review chapters 16 (741-744)
- Lecture note: Java Collection Framework pdf
Chapter 18 Generic Classes
- Constraining type parameter
- Generic classes and type parameters (pages 820-821)
- Implementing generic types (pages 821-825)
- Generic Methods (pages 825-827)
- Constraining type parameters (pages 827-831)
- Review lecture note: Generics Programming pdf
Some additional topics
Review lab assignments 4, 5, and 6.