Nendrasys Interview Question

apptitude technical question on java 8