import java.util.HashMap; import java.util.Map; public class MainClass { public static void main(String[] argv) { Map map = new HashMap(); map.put("key", "value"); System.out.println(map.containsKey("key")); } }
true