Photon Interview Question

Basics of java