diff --git a/Products.java b/Products.java index f4d57e3389a14c0c09a44c2bd3cad5e71f4ebc59..3e2896dd367e2978fb195da18d96a4cd703ff08d 100644 --- a/Products.java +++ b/Products.java @@ -24,6 +24,16 @@ public class Products { /* a good class, but not as good as cse391 */ } + public Product bohanz04Product() { + return new Product( + "CSE351 hw problem", + "A confusing problem faced", + "test2.jpg", + "image of that problem", + 1.00 + ); + } + public Product kevinh33Product() { return new Product( "Duolingo owl", @@ -797,14 +807,5 @@ public class Products { /* a good class, but not as good as cse391 */ 1000.0 ); } - public Product bohanz04Product() { - return new Product( - "idk", - "1", - "test2.jpg", - "idk", - 10.0 - ); - } } diff --git a/Staff.java b/Staff.java index 5771cebf8eb17a09e2e94ceb3e6e5f4ce9b9d486..c10d1ef9cac8db77fbcecc66b961ca7eb12bfa6a 100644 --- a/Staff.java +++ b/Staff.java @@ -20,6 +20,15 @@ public class Staff { } + public Employee bohanz04() { + return new Employee( + "Bryan Zhao", + "Student", + "abcdefg stuff", + "test1.jpg", + "hope to get internship" + ); + } public Employee cuperido() { return new Employee( "Young You", @@ -818,15 +827,5 @@ public class Staff { ); } - public Employee bohanz04() { - return new Employee( - "bohanz", - "Student", - "i am i", - "test1.jpg", - "I picture" - ); - } - }