Infosys interview question

Question about Android basic and kotlin