// hashMap creation with 8 capacity and 0.6 load factor HashMap<K, V> numbers = new HashMap<>(); HashMap<String, Integer> numbers = new HashMap<>();