Jasper Reports Developer Question:
Download Questions PDF

Can lock be acquired on a class in Java Programming?

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?