Photon interview question

Same Java interview questions basics