3日目 段階3 小澤
This commit is contained in:
13
em-oop/src/day3_123/Day3Check3.java
Normal file
13
em-oop/src/day3_123/Day3Check3.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package day3_123;
|
||||
|
||||
public class Day3Check3 {
|
||||
|
||||
public static void main(String[] args) {
|
||||
Shape shape1 = new Circle(2);
|
||||
shape1.showInfo();
|
||||
|
||||
Shape shape2 = new Rectangle(3,4);
|
||||
shape2.showInfo();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user