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.

 Який буде результат компіляції та запуску наступного фрагмента коду?

 

public class X {

public static void main(String [] args) {

try {

badMethod();

System.out.print("A");

} catch (Exception ex) {

System.out.print("B");

} finally {

System.out.print("C");

}

System.out.print("D");

}

public static void badMethod() {

throw new Error();

}

}

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

Want instant access to all verified answers on bt.nixs.com?

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

Browser

Add to Chrome