Guidewire interview question

Java OOP based financial case