Analyst Integration Question:

What is a critical section?

Tweet Share WhatsApp

Answer:

critical section is the part of a code, which is very important and in multi-threading must be exclusively modified by any thread. Semaphore or mutex is used to protect critical section. In Java you can use synchronized keyword or ReentrantLock to protect a critical section.

Download Integration Programmer PDF Read All 87 Integration Programmer Questions
Previous QuestionNext Question
What is difference between DOM and SAX parser?What is Immutable class mean?