Vidyalelo
Java Programming · Q140

Constructors and Methods

Programming · Java Programming · question 140

Q140

What happens to the thread when garbage collection kicks off?

A.
The thread continues its operation
B.
Garbage collection cannot happen until the thread is running
C.
The thread is paused while garbage collection runs
Answer
D.
The thread and garbage collection do not interfere with each other

Answer: Option C

Solution

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