From 6e31daadd3ae79abcae4274e66a37a6c2be3ba9f Mon Sep 17 00:00:00 2001 From: Steven <sluong05@cs.washington.edu> Date: Fri, 9 Feb 2024 12:09:04 -0800 Subject: [PATCH] Added bio to Staff.java and product to Products.java --- Products.java | 10 +++++++++- Staff.java | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Products.java b/Products.java index 2d8b474..c3ea57a 100644 --- a/Products.java +++ b/Products.java @@ -326,6 +326,14 @@ public class Products { /* a good class, but not as good as cse391 */ 12.99 ); } - + public Product sluong05Product() { + return new Product( + "Fluffy cow", + "A fluffy cow to hug and feel warm and cozy", + "fluffyCow.jpg", + "Highland cow", + 129.99 + ); + } } diff --git a/Staff.java b/Staff.java index 0f68ac2..df1072f 100644 --- a/Staff.java +++ b/Staff.java @@ -347,6 +347,14 @@ public class Staff { "tree" ); } - + public Employee sluong05() { + return new Employee( + "Steven", + "Student", + "I work at Sizzle and Crunch! Come say hi!", + "Tennis.jpg", + "Tennis racket and balls" + ); + } } -- GitLab