Tests: Метод Thread.sleep()

Check your knowledge — 1 questions

Progress 1/1

Question 1 of 1

Дано:

3. class Test {
4.     public static void main(String [] args) {
5.         printAll(args);
6.     }
7.     public static void printAll(String[] lines) {
8.         for(int i=0;i<lines.length;i++){
9.             System.out.println(lines[i]);
10.            Thread.currentThread().sleep(1000);
11. } } }

Каков результат выполнения кода?

Select all that apply.

0 selected