J.P. Morgan Interview Question

Implement a scenario with doubleton pattern using java