20165316 Week 10 homework

20165316 Week 10 homework

Chapter 15 Textbook Learning Content

  1. Generics cannot be primitive type data.
  2. 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.
  3. LinkedList
  4. 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.
  5. public static sort(List
  6. int binarySearch(List
  7. public static void shuffle(List
  8. Stack (P450)
  9. Hash Map (P452)
  10. 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

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325212210&siteId=291194637