What is the difference synchronized block and normal block?

Showing Answers 1 - 1 of 1 Answers

dhanush

  • May 1st, 2006
 

synchronised block is a thread safe,where as a normal block is not thread safe.only one thread at atime can access a synchronised blockbut not for a normal block

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions