Java 教程
Java 實例
以下實例演示了如何使用 Enumeration 類的 hasMoreElements 和 nextElement 方法來遍歷輸出 HashTable 中的內(nèi)容:
以上代碼運行輸出結(jié)果為:
Three Two One