diff --git a/em-oop/src/Day3Check3.java b/em-oop/src/Day3Check3.java new file mode 100644 index 0000000..a1cb50c --- /dev/null +++ b/em-oop/src/Day3Check3.java @@ -0,0 +1,15 @@ + +public class Day3Check3 { + + public static void main(String[] args) { + // TODO 自動生成されたメソッド・スタブ + Shape shape1 = new Circle(2); + + shape1.showInfo(); + + Shape shape2 = new Rectangle(3, 4); + + shape2.showInfo(); + } + +}