import java.util.Hashtable;Runtime:
public class Main {
public static void main(String[] args) {
Hashtable< 문자열, 문자열> ht = 새 해시 테이블< 문자열, 문자열> ();
ht.put("1", "하나");
ht.put("2", "2");
ht.put("3", "3");
부울 b = ht.contains("three");
System.out.println("해시 테이블에 값 3이 존재합니까?: " + b);
}
}
Hashtable에 값 3이 있습니까? :true
Please disable your ad blocker and refresh the window to use this website.