Guidewire interview question

Access modifier, Java OOPs concepts