classical inheritance definition