Accenture interview question

Explain oop concepts in java