單項選擇題

獲取集合c中存儲的最小元素可以使用()方法。

A、Collections.max(c)
B、Collections.min(c)
C、Collections.sort(c)
D、Collections.mid(c)

微信掃碼免費搜題