DEVFYI - Developer Resource - FYI

Can a lock be acquired on a class?

Java Interview Questions and Answers (part 1)


(Continued from previous question...)

26. Can a lock be acquired on a class?

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

(Continued on next question...)

Other Interview Questions