Answer Posted / janet
Yes, a lock can be acquired on a class. This lock is
acquired on the class?s Class object.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Where is jre installed?
What do you mean by jjs in java8?
Where are local variables stored?
What is the purpose of java?
What do you mean by platform independence of Java?
Why is logger singleton?
What is public static void main?
Difference between static synchronization vs. Instance synchronization?
How are the elements of a gridbaglayout organized?
What is the abstraction?
What is private static class in java?
What initialize variables?
What is the difference between serializable and externalizable interface?
What is the benefit of abstract class?
If an application has multiple classes in it, is it okay to have a main method in more than one class?