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.

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

1 int i = 5;

2 while (i> 2) {

3 System.out.print (i);

4 if (i <4)

5 try throw new ArithmeticException ( "ex");

6 finally {System.out.print (i); }

7 catch (ArithmeticException e) {

8 System.out.print (i);

9 break;

10 }

11 i--;

12 }

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