Techugo interview question

programming related to array and oops