Skip to content
Sharp

Concurrency basics · interview question

Which statement is true about intrinsic locks in Java?

Multiple choiceEasychapter-15-curatedpremiumconcurrencysynchronized-and-locks
Choose one answer
Answer and explanation

Correct answer

D. Every object in Java has an intrinsic lock.

Why

In Java, every object has an implicit lock associated with it, which is used by the synchronized keyword to manage access to synchronized blocks or methods.

Test yourself on Concurrency basics

A free test with instant, explained results. No account needed.

Start free test
All Concurrency basics questions →