DEVFYI - Developer Resource - FYI

What is critical section

J2SE Interview Questions and Answers


(Continued from previous question...)

49. What is critical section

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.

(Continued on next question...)

Other Interview Questions