Q: How to make application thread-safe ?

You should use the word synchronized to mark the critical section of code. You may also use other methods of thread synchronization (see wait(), notify(), notifyAll() etc.

 

This Question is not yet answered!

 
 

Related Answered Questions

 

Related Open Questions