J2SE Question:

Download Job Interview Questions and Answers PDF

What is synchronized?

J2SE Interview Question
J2SE Interview Question

Answer:

A keyword in the Java programming language that, when applied to a method or code block, guarantees that at most one thread at a time executes that code.

Download J2SE Interview Questions And Answers PDF

Previous QuestionNext Question
What is thread?What is Unicode?