Hexaware Technologies interview question

Oops concept abd basics of programming languages