Adeptra Interview Question

How would you make data thread safe?

Interview Answer

Anonymous

Apr 14, 2012

to make data thread safe we have to implemnet synchronized keyword before the block/method which are going to use the data.