logo

Crowdly

Browser

Add to Chrome

Що буде результатом наступного коду? public class TwistInTaleCatchError { ...

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

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

public class TwistInTaleCatchError {

public static void main(String[] args) {

try {

method();

} catch (StackOverflowError e) {

for (int i = 0; i < 2; ++i)

System.out.println(i);

}

}

public static void method() {

method();

}

}

0%
0%
0%
100%
More questions like this

Want instant access to all verified answers on virt.ldubgd.edu.ua?

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

Browser

Add to Chrome