LinkedIn interview question

Questions about Thread safe class