Hexaware Technologies interview question

explain oops concetps with example