Entransys interview question

Oop concepts in java.