Guidewire interview question

Questions about Java structure