筆記有關Java的一些問題

1.如何定義常量: 用static final關鍵字來定義 2.哪一個是同步的? Hashtable: Hashtable is synchronized. Vector:Vector is synchronized. TreeSet: Note that this implementation is not synchronized. If multiple threads access a t
相關文章
相關標籤/搜索