Mindlance interview question

simple question of string,array,opps concept