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 catch (ArithmeticException e) {

7 System.out.print (i);

8 break;

9}

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

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