Xavient interview question

basics of opp's and java