Gett interview question

is the above implementation is thread safety

Interview Answer

Anonymous

10 Jul 2018

added the synchronized key word in the method implementation