Infosys interview question

Explain Oop concept in java