Altimetrik interview question

Complete oops concept in java language