Mu Sigma interview question

easy java basic questions based on inheritance and all.