Can someone look at my code? need help. Trying to define an array without loops
/* The output is a weird number- [I@33909752 , how do i fix this and display the array the user defined by input?**/ package javaapplication111; import java.util.Scanner; public class JavaApplication111 { public static void main(String[] args) { System.out.println("Please enter how many elements are in the Array"); Scanner reply1= new Scanner(System.in); int numbers[]= new int[reply1.nextInt()]; // defining the capacity of the array System.out.println("Enter the first element"); Scanner E0= new Scanner(System.in); numbers[0]=E0.nextInt(); // defining the first element in the array System.out.println("Enter the second element"); Scanner E1= new Scanner(System.in); numbers[1]=E1.nextInt(); // defining the second element in the array System.out.println("Enter the thrid element"); Scanner E2= new Scanner(System.in); //Defining the third element in the array numbers[2]=E2.nextInt(); System.out.println("Enter the fourth element"); Scanner E3= new Scanner(System.in); //Defining the fourth element in the array numbers[3]=E3.nextInt(); System.out.println("Enter the fifth element"); Scanner E4= new Scanner(System.in); numbers[4]=E4.nextInt(); //Defining the fifth element in the array System.out.println(numbers); /* Wanting to print the array using the elements that were defined above**/ } }