new to coding, new to java and new to stack overflow.
It might be a silly question, but I'm having trouble creating an int array of size = HashMap.size();
int gt = HashMap.size(); // which is 50
int[] answer = new int[gt]; // Shouldn't it creates an int array of size 50?
int length = answer.length;
System.out.println(answer + " " + length); // is giving me something
like [I@15db9742 50
Any idea of what's going on? THANKS!