public class Main {
public static void main(String[]args) {
int[] array = new int[10];
for (int i= 0; i < array.length; i++) {
array[i] = i;
}
System.out.println(array);
}
}
Why is the output "[I@677327b6"? I am just trying to assign values to an array. I know this is a very basic question, however, I've been struggling to find the answer. Thanks for the help!