Workday interview question

Few Java terms and OOP etc