Answer:
Lock is known to be the safest and the basic message control mechanism used in object oriented mechanism. This is used to block the usage of methods while another method is in progress. The only safest way to use lock mechanism is to fully synchronized objects.
Previous Question | Next Question |
Explain about fully synchronized objects? | Explain about semaphores? |