Câu 9: GSSP-Java: GIAC Secure Software Programmer-Java
Mark works as a Programmer for InfoTech Inc. He develops the following code snippet.1. public class Header2. {3. //code//4. {5. System.out.println("Print the code.");6. super.finalize();7. }8. }Which of the following header statements should be placed at line 3 to execute the program successfully?
Nội dung câu hỏi
Mark works as a Programmer for InfoTech Inc. He develops the following code snippet.1. public class Header2. {3. //code//4. {5. System.out.println("Print the code.");6. super.finalize();7. }8. }Which of the following header statements should be placed at line 3 to execute the program successfully?
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.
- A. void finalize() throws Exception
- B. private void finalize() throws Exception
- C. protected void finalize() throws Throwable — đáp án hiện tại
- D. void finalize() throws Throwable
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.