Jasper Reports Developer Question:

Download Job Interview Questions and Answers PDF

Can lock be acquired on a class in Java Programming?

Jasper Reports Developer Interview Question
Jasper Reports Developer Interview Question

Answer:

Yes, a lock can be acquired on a class. This lock is acquired on the class's Class object.

Download Jasper Reports Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Which three ways in which thread can enter the waiting state in Java Programming?What is new with the stop(), suspend() and resume() methods in JDK 1.2?