From a5fccf8828976f977435bc529a37a9d682f8a753 Mon Sep 17 00:00:00 2001 From: Leo <zliu44@uw.edu> Date: Mon, 12 Feb 2024 15:14:23 -0800 Subject: [PATCH] Fixed the java files --- Products.java | 10 ++++++++++ Staff.java | 20 ++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/Products.java b/Products.java index 2387db9..d1fd437 100644 --- a/Products.java +++ b/Products.java @@ -412,6 +412,16 @@ public class Products { /* a good class, but not as good as cse391 */ } + public Product ryrozProduct() { + return new Product( + "A broken computer", + "A computer that has a static screen.", + "static.jpg", + "A picture of static", + 4.99 + ); + } + public Product yangsamProduct() { return new Product( "Chocolate chip cookies", diff --git a/Staff.java b/Staff.java index 617a58e..e18af91 100644 --- a/Staff.java +++ b/Staff.java @@ -441,6 +441,26 @@ public class Staff { ); } + public Employee ryroz() { + return new Employee( + "Ryan", + "Student", + "tired", + "blackscreen.jpg", + "a black screen" + ); + } + + public Employee alimj5() { + return new Employee( + "Ali", + "Student", + "Tranquil", + "Anime_Chopper_Skypia.jpg", + "Chopper from One Piece looking surprised" + ); + } + public Employee yangsam() { return new Employee( "Samantha", -- GitLab