A.實現(xiàn)Comparable接口 B.有main方法 C.有g(shù)et和set方法 D.實現(xiàn)Serializable接口
A.增強(qiáng)for循環(huán)可以操作Collection集合 B.增強(qiáng)for循環(huán)可以操作數(shù)組 C.增強(qiáng)for循環(huán)可以直接遍歷Map集合 D.增強(qiáng)for循環(huán)是JDK1.5版本后出現(xiàn)的
A.this() B.HashMap幾乎可以等價于Hashtable C.copyOf() D.List