HCL Interview Question

basic concept about oops ?