Time Inc. India interview question

questions regarding protypal inheritance