Apple interview question

Endianness; deciding between inheritance and composition