Which of the following is a method provided by ReentrantLock to acquire a lock but allows the thread to be interrupted?
lock()
tryLock()
lockInterruptibly()
unlock()
This question is part of this quiz :