PRO192c_-_SU_2024_-_TE2_2584.webp
vanbinh99

PRO192c_-_SU_2024_-_TE2_2584.webp

Kizspy | Question: 11
(Choose 1 answer)
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("Error1");} catch (NumberFormatException e) { System.out.println("Error2");} catch (Exception e) { System.out.println("Error3");} finally { System.out.println("Finish");}
FUOVER
}
A. Error1
B. Error2
C. Error3
D. Finish

Thông tin

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

Share this media

Back
Bên trên Bottom