Hi guys
Whenever I run this program, some weird characters like: ( [I@1f436f5 ) appear.
int[] list= new int[3];
Scanner scan = new Scanner(System.in);
for(int i=0;i<list.length;i++){
System.out.println("Enter a number:");
list[i] += scan.nextInt();
}
System.out.print(list);
How can I fix this? It is supposed to print the numbers entered from the user and not these characters.
Thanks.