Accenture interview question

Explain oops concept in java