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
Is arraylist dynamic in java?
What class allows you to read objects directly from a stream in java programming?
Explain about main() method in java ?
How do you do a line break in java?
Why Java is not pure Object Oriented language?
What are synchronized blocks in java?
What are recursive functions? Give some examples?
Why are parameters used in functions?
What is comparator in java?
What is an argument java?
What is the benefit of inner classes in java?
Explain the meaning of java applet.
extending thread class or implementing runnable interface. Which is better? : Java thread
can I implement my own start() method? : Java thread
What’s the difference between the methods sleep() and wait()?