Exioms Interview Question

oops concepts