而List是一個Interface,而ArrayList與LinkedList是實作的Class。 ... Comparable,客製化排序;而HashSet則是根據Object的hash()來決定先後順序。
確定! 回上一頁