Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) throws Exception {
- Map<String, String> stringMap = new TreeMap<>();
- stringMap.put("a", "A");
- Map<?, ?> map = stringMap;
- System.out.println(map.containsKey(1));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement