J2SE Question:

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.


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