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 do you understand by synchronization? : Java thread
Can you achieve runtime polymorphism by data members?
Name four container classes.
What is the purpose of the file class in java programming?
Define array. Tell me about 2-D array.
What is method and methodology?
Which is faster set or list in java?
Define Multiprogramming and Multiprocessing in java.
What is Gang of four design patterns
What are the two main uses of volatile in Java?
Explain restrictions on using enum?
How do you pass by reference?
Are registers volatile?
What are the files generated after using IDL to java compiler?
Can a private method be declared as static?