A.HashMap B.TreeSet C.Properties D.TreeMap
A.foreach循環(huán)在遍歷集合時,無需獲得容器的長度 B.foreach循環(huán)在遍歷集合時,無需循環(huán)條件,也無需迭代語句 C.foreach循環(huán)在遍歷集合時非常繁瑣 D.foreach循環(huán)的語法格式為:for(容器中元素類型 臨時變量 :容器變量)。
A.next() B.hash() C.hasPrevious() D.hasNext()