foo1: I'm a blue cube. Each side has length=1.2. Serial number = 1 foo2: I'm a cube. Each side has length=1.2. Serial number = 1 foo3: I am a box with length=1.2, height=1.2 and width=1.2. Serial Number = 1 Sizes: sizeof(Box) = 16 sizeof(Cube) = 16 sizeof(ColorCube) = 20