Hexaware Technologies interview question

Explain the oops concepts in java