A.繼承Thread類 B.實現(xiàn)Runnable接口 C.實現(xiàn)Thread接口 D.以上都不正確
A.HashMap和Hashtable都實現(xiàn)了Map接口 B.HashMap是非synchronized,而Hashtable是synchronized C.HashTable使用Enumeration,HashMap使用Iterator D.Hashtable直接使用對象的hashCode,HashMap重新計算hash值,而且用與代替求模
What is the result()。
A.ABDCBDCB B.ABCDABCD C.Compilation fails. D.An exception is thrown at runtime.