Sollicitatievraag bij Tata Consultancy Services

They asked basic oops question