Как создать множество целых чисел на Java
int[] intArray = new int[]{ 1,2,3,4,5,6,7,8,9,10 };
Weary Wolf
int[] intArray = new int[]{ 1,2,3,4,5,6,7,8,9,10 };
int[] a = new int[1];
//defines an array that has space to hold 1 int.