Avantive Solutions interview question

Oops concept in depth , so prepare accordingly