Pergunta de entrevista da empresa UST

Asked mostly on oops concepts