Infosys Interview Question

Explain the oops concept in java