Multiple Choice
Which of the following class declarations could run in a thread?
I public interface MyRunnable extends Runnable { . . . }
II public class MyRunnable extends Runnable { . . . }
III public class MyRunnable implements Runnable { . . . }
A) II
B) III
C) I and II
D) II and III
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q12: Assume two threads share a BankAccount object
Q15: Which of the following definitely indicates that
Q18: Which argument(s) present(s) the best case(s) for
Q26: The sleep method is terminated with a(n)
Q30: What happens when a thread calls the
Q33: When a sleeping thread is interrupted, a(n)
Q54: _ allow a thread to temporarily release
Q55: To start a thread, you should first
Q66: The _ occurs when a thread that
Q69: The _ method is called by a