Infosys interview question

Explain the oops concept in java