EROAD interview question

Tell Output from Java Code