Domanda di colloquio di SoFi

Simple OOPS questions, questions about Java based loops and what will be the output