Design a can create different geometry (Shape), round (Cicle), for example, rectangular (Rectangle), triangular (Triangle)) of the drawing tools, each geometry method has drawn the draw (), and to wipe out the method to erase (), requirements in the drawing does not support the geometry, throw a UnsupportShapeException abnormalities, please select an appropriate design pattern to design the tool class
2, a real estate company to develop a set of house property management information system, the company has many kinds, such as apartments, villas, etc., as the company's business gradually expanded, the future would join shops such as the new room, room information for the system, please create a module to design a set of flexible scheme, draw the class diagram and simulation implementation, using eclipse to create