HashtableÀÇ ¿ä¼Ò Ãß°¡
HashtableTest.java
import java.util.*;
public class HashtableTest {
public static void main(String[] args) {
Hashtable h = new Hashtable();
h.put("Name", new String("jabook"));
h.put("Age", new Integer(27));
h.put("Height", new Double(175.5));
System.out.println(h.isEmpty());
}
}
D:\javaclass\111>javac HashtableTest.java
D:\javaclass\111>java HashtableTest
false
isEmpty()¸Þ¼µå¸¦ »ç¿ëÇÏ¿© HashtableÀÌ ºñ¾îÀÖ´ÂÁö ¾Êºñ¾îÀÖ´ÂÁö °Ë»çÇÏ´Â ¿¹Á¦
jabookÀúÀÚ¸íÇÔ |
Á¦¸ñ:¼Ò¼³°°Àº¹Ì´ÏÄÚµå ÀÛ¼ºÀÚ:Àںϸâ¹ö ±è¿Ï±â |