PRO192_-_SP_2025_-_Block_5_-_1_3854.webp
M

PRO192_-_SP_2025_-_Block_5_-_1_3854.webp

Kizspy Question: 14
(Choose 1 answer)
redtext.www.com
What is the output of the code snippet?
public class Test {
public static void main(String[] args) {
try {
int kq
10/0;
throw new Exception();
} catch (ArithmeticException e) {
System.out.println("Error 1");
} catch (NumberFormatException e) {
System.out.println("Error2");
} catch (Exception e) {
System.out.println("Error3");
} finally {
System.out.println("Finish");
A. Error1
B. Error2
C. Error3
D. Finish

Thông tin

Category
PRO192
Thêm bởi
Mahito2001
Ngày thêm
Lượt xem
3,292
Lượt bình luận
9
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom