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.

Що буде виведено на екран в результаті роботи наступного фрагмента програми?

int a = 8, i = -1;

int i = 4;

while (i <5) {

try {

if (i> = 2)

System.out.print (12 / i);

else {

System.out.print (6 / ++ i);

throw new ArithmeticException ( "newEx");

}

}

catch (ArithmeticException e) {

System.out.print ( "0");

break;

}

i--;

}

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