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
What is %02d?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
What is numeric data type?
What is an immutable object? How do you create one in java?
What is linked hashset and its features?
What are the drawbacks for singleton class?
Can you inherit from an abstract class java?
What is bool mean?
What is a singleton in genetics?
Can we override private method?
Why can't you declare a class as protected?
give an example for encapsulation?
What are static variables and functions?
What is the benefit of inner / nested classes ?
What is meant by class and object in java?