Interviewer And Interviewee Guide

Java Threads Interview Question:

When you will synchronize a piece of your code?

Submitted by: Administrator
When you expect that your shared code will be accessed by different threads and these threads may change a particular data causing data corruption, then they are placed in a synchronized construct or a synchronized method.
Submitted by: Administrator

Read Online Java Threads Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.