FundGuard interview question

Implement singleton design pattern in java