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.

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

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 finally {

9 System.out.print (i);

10 }

11 catch (ArithmeticException e) {

12 System.out.print (i);

13 break;

14 }

15 i ++;

16 }

0%
0%
0%
0%
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