S2M interview question

what are java versions?