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
Can we access instance variables within static methods ?
Can we have any code between try and catch blocks?
Does java vector allow null?
What is primitive array?
Convert Binary tree to linked list.
Difference between arraylist and hashset in java?
What is an example of a boolean?
Explain about oops concepts.
Which class is the superclass for all the classes?
Can I use % with real numbers?
Can we sort arraylist in java?
What is final, finally, finalize?
Which is the best sorting technique in java?
What is a jit compiler?
What's the purpose of static methods and static variables?