Micro Focus interview question

OOPS concepts