J2SE Question:
Download Questions PDF

What is critical section?

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?