Automation Anywhere Interview Question

Implementation of Singleton pattern in Java