store number in array corectly

String[] array = new String[10];