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

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

There are two threads defined in an application named "thread1" and "thread2". Which of the following options can be the direct cause of "thread1" becoming blocked?Each correct answer represents a complete solution. Choose all that apply.

Nội dung câu hỏi

There are two threads defined in an application named "thread1" and "thread2". Which of the following options can be the direct cause of "thread1" becoming blocked?Each correct answer represents a complete solution. Choose all that apply.

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. thread1 attempt to read from a file — đáp án hiện tại
  2. B. thread1 executes thread2.sleep(3000) — đáp án hiện tại
  3. C. thread2 executes thread1 sleep(3000)
  4. D. thread1 raises its own priority
  5. E. thread1 executes new Thread (someRunnable)

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ề