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

Câu 76: GSSP-Java: GIAC Secure Software Programmer-Java

Which of the following classes implements the java.lang. Cloneable and java.lang. Runnable interfaces correctly?

Nội dung câu hỏi

Which of the following classes implements the java.lang. Cloneable and java.lang. Runnable interfaces correctly?

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. public class DemoThread implements Runnable, Cloneable {public void run() { /* some code here */ }protected boolean clone() throws CloneNotSupportedException { /* some code here */ }. . . .}
  2. B. public class PrintData implements Runnable, Cloneable {public void run() { /* some code here */ }protected Object clone() throws CloneNotSupportedException { /* some code here */ }. . . .} — đáp án hiện tại
  3. C. public class CloneCheck implements Runnable, Cloneable {public int run() { /* some code here */ }public Object clone() throws CloneNotSupportedException { /* some code here */ }. . . .}
  4. D. public class Demo implements Runnable, Cloneable {public void run() { /* some code here */ }. . . .}

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ề