Bank of America interview question

Explain Java oops concept briefly.