Guidewire interview question

Basics of Java, output of differetn java programs (like when ther are two/ three constructors inside), which one will run? etc