CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 25: 70-483: MCSD Programming in C

You are developing an application. The application contains the following code: When you compile the code, you receive the following syntax error message: "A previous catch clause already catches all exceptions of this or a super type('System.Exception')."You need to ensure that the code can be compiled. What should y…

Nội dung câu hỏi

You are developing an application. The application contains the following code: When you compile the code, you receive the following syntax error message: "A previous catch clause already catches all exceptions of this or a super type('System.Exception')."You need to ensure that the code can be compiled. What should you do?

Minh họa câu hỏi

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. Catch the ArgumentException exception instead of the ArgumentNullException exception. — đáp án hiện tại
  2. B. Throw a new exception in the second catch block.
  3. C. Catch the ArgumentNullException exception first.
  4. D. Re-throw the exception caught by the second catch block.

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề