PRN292c_-_FA_2023_-_2_1241.webp
M

PRN292c_-_FA_2023_-_2_1241.webp

27
Answer (Choose 1 answer)
Which of the following is a correct statement about this C# code?
try
//line 1
{ //line 2
int[] r = new int[] { 1 };//line 3
r[2] = 0;//line 4 Console.WriteLine("Code");//line 5
//line 6
} catch (Exception e)//line 7
{ //line 8
Console.WriteLine("Exception"); //line 9
} finally //line 10 //line 11
{ Console.WriteLine("Finally"); //line 13 //line 14 Console.WriteLine("After exception"); //line 15
//line 12
A. Lines 9, 13, and 15 will be executed normally.
B. Lines 9 and 13 will be executed but not line 15
C. This code raises an exception at runtime
D. Line 9 will be executed but not line 13 and line 15

Elt

Thông tin

Category
PRN292c
Thêm bởi
Minh Nhật1
Ngày thêm
Lượt xem
82
Lượt bình luận
1
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRN292c_-_FA_2023_-_2_1241.webp
File size
76.7 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom