J2SE Question:

Download Job Interview Questions and Answers PDF

What is critical section?

J2SE Interview Question
J2SE Interview Question

Answer:

A segment of code in which a thread uses resources (such as certain instance variables) that can be used by other threads, but that must not be used by them at the same time.

Download J2SE Interview Questions And Answers PDF

Previous QuestionNext Question
What is default?What is core packages?