Accenture Interview Question

Explain oops concept in java