From 39ea9759535b35c7df187e9d11e1372ee078420c Mon Sep 17 00:00:00 2001 From: RossTheRoss Date: Wed, 13 Nov 2019 10:43:15 -0600 Subject: Do lab 9, rearrange lab 6 stuff --- csci1913/Java/lab6/lab6_strap012.java | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 csci1913/Java/lab6/lab6_strap012.java (limited to 'csci1913/Java/lab6/lab6_strap012.java') diff --git a/csci1913/Java/lab6/lab6_strap012.java b/csci1913/Java/lab6/lab6_strap012.java deleted file mode 100644 index feecbe1..0000000 --- a/csci1913/Java/lab6/lab6_strap012.java +++ /dev/null @@ -1,19 +0,0 @@ -package lab6; - -class Rectangle extends Polygon { - public Rectangle(int l, int w) { - super(4, l, w, l, w); - } - public int area() { - return this.side(0)*this.side(1); - } -} - -class Square extends Rectangle { - public Square(int l) { - super( l, l); - } - // public int area() { - // return this.side(0)*this.side(1); - // } -} \ No newline at end of file -- cgit v1.2.3