Pergunta de entrevista da empresa Apple

Endianness; deciding between inheritance and composition