Design Patterns in Java – Singleton Pattern