logo

Crowdly

Browser

Add to Chrome

Т05. Посмотрите на код программы с несколькими операторами catch и выберите верн...

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

Т05. Посмотрите на код программы с несколькими операторами catch и выберите верные утверждение.

public class Main {

public static void main(String[] args) {

try {

int а = 0;

int Ь = 42 / а;

}

catch(Exception e) {

System.out.println("Сработает обработчик №1");

}

catch(ArithmeticException е) {

System.out.println("Сработает обработчик №2");

}

}

}

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

Want instant access to all verified answers on edu.itlearn.ru?

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

Browser

Add to Chrome