結果 : can you write a code for representing thread-safe singleton pattern in java