steps to create singleton design pattern in java code example Example: singleton design pattern example this is good