Hexaware Technologies interview question

Explain oops concepts in java