單項選擇題

()接口是使實現(xiàn)類自身具備某種比較規(guī)則以便對其對象進行自然排序的接口。

A.Comparable
B.Comparator
C.Set
D.Iterator

微信掃碼免費搜題