Vidyalelo
Java Programming · Q8

Threads

Programming · Java Programming · question 8

Q8

How can you achieve synchronization between threads in Java?

A.
By using the interrupt() method
B.
By using the wait() and notify() methods
C.
By using multiple catch blocks
D.
By using the synchronized keyword or synchronized blocks
Answer

Answer: Option D

Solution

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