Infosys Interview Question

Explain java Oops concepts. How did you use it?