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
- Click here (pdf) to down load the lecture on Set and Map
- Hash and hash table
- Review chapters 16 (741-744)
- Review lab assignment #4
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)
- Click here (pdf) to down load the lecture note on generic programming (wildcard types)
- Click here (pdf) to down load the tip note on generic programming (wildcard types)
- Review the lab assignment #5