Day3 Stept3
This commit is contained in:
14
em-oop/src/day3Keisho/Day3Check3.java
Normal file
14
em-oop/src/day3Keisho/Day3Check3.java
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
package day3Keisho;
|
||||||
|
|
||||||
|
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();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user