Vidyalelo
Java Programming · Q25

Threads

Programming · Java Programming · question 25

Q25

How can you handle exceptions in Java threads?

A.
By using try-catch blocks within the run() method
Answer
B.
By using the stop() method
C.
By ignoring exceptions in threads
D.
By using the yield() method

Answer: Option A

Solution

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