Вывод массива на экран на Java
public class MainClass { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String[] list = new String[10]; for (int i = 0; i < list.length; i++) { list[i] = reader.readLine(); } } }