AltezzaSys interview question

Questions on OOPS and its example