import java.util.Hashtable;//hashtable
public class test70 {public static void main(String[] args){Hashtable ht=new Hashtable();ht.put("k0","歌谣");ht.put("k1","小白");ht.put("k2","小红");//ht.put("k3",null);//hashtable不能用null存取值System.out.println( ht);}
}
运行结果