PRO192_-_SP_2024_-_Block_5_-_FE_1921.webp
K

PRO192_-_SP_2024_-_Block_5_-_FE_1921.webp

Multiple Choices
Answer (Choose 1 answer)
What is the output of the program below ?
public class Main {
public static void main(String[] args){
try { System.out.println("ABC1");
int i=0;
float t;
t=1/i;System.out.println("ABC2");
System.out.println("ABC3");
}

catch (Exception e) { System.out.println("Exception"); } finally { System.out.println("finally 1"); }
System.out.println("last1");
}
}
A. ABC1
Exception finally 1
last1
B. ABC1
ABC2 ABC3
Exception
C. ABC1
ABC2

ABC3 finally 1

Thông tin

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

Share this media

Back
Bên trên Bottom