diff options
Diffstat (limited to 'csci1913/Java/lab6')
-rw-r--r-- | csci1913/Java/lab6/Polygon.java | 2 | ||||
-rw-r--r-- | csci1913/Java/lab6/lab6_strap012.java | 2 | ||||
-rw-r--r-- | csci1913/Java/lab6/tests6.java | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/csci1913/Java/lab6/Polygon.java b/csci1913/Java/lab6/Polygon.java index 643dbb3..7f025fe 100644 --- a/csci1913/Java/lab6/Polygon.java +++ b/csci1913/Java/lab6/Polygon.java @@ -1,4 +1,4 @@ - +package lab6; class Polygon { diff --git a/csci1913/Java/lab6/lab6_strap012.java b/csci1913/Java/lab6/lab6_strap012.java index 5062a60..e2c96e4 100644 --- a/csci1913/Java/lab6/lab6_strap012.java +++ b/csci1913/Java/lab6/lab6_strap012.java @@ -1,3 +1,5 @@ +package lab6; + class Rectangle extends Polygon { public Rectangle(int l, int w) { super(4, l, w, l, w); diff --git a/csci1913/Java/lab6/tests6.java b/csci1913/Java/lab6/tests6.java index 91b82ca..fc98648 100644 --- a/csci1913/Java/lab6/tests6.java +++ b/csci1913/Java/lab6/tests6.java @@ -1,3 +1,5 @@ +package lab6; + // SHAPES. Public tests for the classes RECTANGLE and SQUARE. Comments show // what each test must print, and how many points it is worth. |