Which statement is true?
Which statement is true?
A thread in waiting state must handle InterruptedException. When a thread is in a waiting state, it can be interrupted, and it needs to handle InterruptedException to manage this situation appropriately and move back to a runnable state. This ensures that the thread can be managed and controlled correctly.
D is correct
D is correct
D is correct