Hexaware Technologies interview question

Startvwith basic oops concept and increase the diculty level. Also aks to write small program.