Capgemini interview question

Explain about java oops concepts