Explain about locks?

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online Java Patterns Job Interview Questions And Answers