Answer Posted / ravikiran(aptech mumbai)
yes indirectly because we can aquire a lock on the object of
the class.And for the class level lock we make use of static
synchromnized block.
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
Difference between object and reference?
What is the difference amongst jvm spec, jvm implementation, jvm runtime ?
What are java packages? What is the significance of packages?
How do you declare an array in java?
What are the advantages and disadvantages of object cloning?
How is string immutable in java?
Why strings in java are called as immutable?
What is the difference between inner class and nested class?
How would you use Bubble Sort to sort the number of elements?
How big is a gigabyte?
What do you mean by object?
What’s a deadlock?
Highest level event class of the event-delegation model?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
Can we clone singleton class in java?