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