Complex sentence: For example, a common class hierarchy would be GraphicObject is a superclass of Rectangle and Elipse, while Square is a subclass of Rectangle.
Split into simpler sentences: For example, a common class hierarchy would be GraphicObject is a superclass of Rectangle and Elipse. While Square is a subclass of Rectangle.