XYZ interview question

Basic question from SE in developement