Hi Golem, The order of the elements would be same in the array. Just to clarify, if we have a hashmap with values (1, "one"), (2, "two"), (3, "three") keySet().toArray( new String[0] ) - would generate the keys of the elements in hashmap. - ["1","2","3"] values().toArray( new String[0] ) - would generate the values of the elements in hashmap.["one", "two", "three"] ...