HCL interview question

basic concept about oops ?