logo

Crowdly

Browser

Add to Chrome

Наступний фрагмент програми завершився помилкою. Які зміни необхідні, щоб програ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Наступний фрагмент програми завершився помилкою. Які зміни необхідні, щоб програма виводила на екран послідовність 0122?

1 int i = 0;

2 while (i <3) {

3 System.out.print (i);

4 if (i> 1)

5 try {

6 throw new ArithmeticException ( "ex");

7 }

8 catch (IllegalArgumentException e) {

9 System.out.print (i);

10 break;

11}

12 i ++;

13

}

More questions like this

Want instant access to all verified answers on moodle.chnu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome