aboutsummaryrefslogtreecommitdiffstats
path: root/csci1913/Java/lab6
diff options
context:
space:
mode:
authorRossTheRoss <mstrapp@protonmail.com>2019-11-03 12:01:48 -0600
committerRossTheRoss <mstrapp@protonmail.com>2019-11-03 12:01:48 -0600
commit13945160822dd3d16bdfa7c24abefeffb7a5be61 (patch)
treee589db732231a4d1aac7c450aefa96248ad14616 /csci1913/Java/lab6
parentFinish things (diff)
downloadhomework-13945160822dd3d16bdfa7c24abefeffb7a5be61.tar
homework-13945160822dd3d16bdfa7c24abefeffb7a5be61.tar.gz
homework-13945160822dd3d16bdfa7c24abefeffb7a5be61.tar.bz2
homework-13945160822dd3d16bdfa7c24abefeffb7a5be61.tar.lz
homework-13945160822dd3d16bdfa7c24abefeffb7a5be61.tar.xz
homework-13945160822dd3d16bdfa7c24abefeffb7a5be61.tar.zst
homework-13945160822dd3d16bdfa7c24abefeffb7a5be61.zip
?
Diffstat (limited to 'csci1913/Java/lab6')
-rw-r--r--csci1913/Java/lab6/Polygon.java2
-rw-r--r--csci1913/Java/lab6/lab6_strap012.java2
-rw-r--r--csci1913/Java/lab6/tests6.java2
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.