How to avoid synchronization problems in threads?

Answer: To avoid synchronized problems with multi threaded programs, use synchronized block or synchronized methods, which ever suits better.

No comments:

Post a Comment