Sorry a newb here
String [][] myExampleArray = {{"string1", ..., "string100"},{"string1", ..., "string100"}};
I want to put them in hashmap and my code looks like this
Hashmap <String[], String[]> mappedArrays = new Hashmap<>();
mappedArrays.put(myExampleArray[0], myExampleArray[1]);
I tried doing this:
for (var mappedArray : mappedArrays.entrySet())
System.out.println(mappedArray.getKey() + " ==== " + mappedArray.getValue());
and it only shows one result:
[Ljava.lang.String;@372f7a8d ==== [Ljava.lang.String;@8efb846
how would I print all mappedArrays in key/value pair? Thank you so much guys!