Accenture Interview Question

Explain oop concepts in java