20165316 Week 10 homework
Chapter 15 Textbook Learning Content
- Generics cannot be primitive type data.
- When a generic class is declared and an object is created, a pair of "<>" is added after the class name, and the generic type in "<>" must be replaced with a specific type.
- LinkedList
- The dynamic array table class ArrayList uses a sequential structure to store data, which has advantages in extracting data, but it is not suitable for dynamically changing the stored data.
- public static sort(List
- int binarySearch(List
- public static void shuffle(List
- Stack (P450)
- Hash Map (P452)
- Tree (P454)
Supplementary course content
Since the time of submission just ended, the screenshot of the unfinished third question is submitted as follows
Code cloud link https://gitee.com/treebeard1203/java2018-besti-is-20165316/tree/master/Test53/src