enum ShapeType { triangle, rectangle } abstract class Shape { factory Shape(ShapeType type) { switch (type) { case ShapeType.triangle: ...
確定! 回上一頁