Infosys Interview Question

Explain the OOPs concepts in Java.