Vidyalelo
Java Programming · Q28

Threads

Programming · Java Programming · question 28

Q28

In Java, can you directly access the run() method of a Thread object?

A.
Only if the thread is marked as "final"
B.
Yes, but it will execute in the current thread, not as a separate thread
Answer
C.
Only if the thread is marked as "static"
D.
None of These

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board