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
What is :: operator in java?
What is return type in java?
What is mutable object and immutable object?
What is the applet security manager, and what does it provide?
How does indexof work?
Can you sort a list in java?
What is the meaning of immutable regarding string?
What are the two types of exceptions in java? Which are the differences between them?
What is callablestatement? How you can call stored procedure to pass in parameter?
What function extracts specified characters from a string?
What is nan inf?
How big is a gigabyte?
When can you say a graph to be a tree?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
What is the purpose of a volatile variable?