/**
输入问题:
*/
import java.util.Scanner;
import java.util.Arrays;
class JavaDemo13
{
public static void main(String[] args)
{
/*
for(String x:args){
System.out.println(x);
//System.err.println();
//System.in;
}
*/
Scanner sc = new Scanner(System.in);
//int temp = sc.nextInt();
//System.out.println(temp);
int number = 0;
System.out.println("请输入数组的长度:");
number = sc.nextInt();
int[] arr4= new int[number];
for(int i=0;i<arr4.length;i++){
System.out.print("请输入"+(i+1)+"数字:");
int a = sc.nextInt();
arr4[i]=a;
}
System.out.print(Arrays.toString(arr4));
}
}