Automation Anywhere interview question

Java ,OOPs concepts