From c7dcaae3e531ff1e8d96e68ee1416a68a6d1b336 Mon Sep 17 00:00:00 2001 From: tly6 <tly6@uw.edu> Date: Mon, 12 Feb 2024 15:33:53 -0800 Subject: [PATCH] fixed Staff 3rd time --- Product.java | 11 ----------- Products.java | 9 +++++++++ 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/Product.java b/Product.java index b2da453..44a5ca9 100644 --- a/Product.java +++ b/Product.java @@ -36,15 +36,4 @@ public class Product { public String toString() { return "Product"; } - - public Product tly6() { - return new Product( - "Intel Core i9 14900K", - "Great Performance in Creative Apps", - "Intel-CoreI9.jpeg", - "Picture of Intel Processor", - 589.00 - ); - } - } diff --git a/Products.java b/Products.java index d1fd437..20ed63b 100644 --- a/Products.java +++ b/Products.java @@ -557,4 +557,13 @@ public class Products { /* a good class, but not as good as cse391 */ 4.99 ); } + public Product tly6() { + return new Product( + "Intel Core i9 14900K", + "Great Performance in Creative Apps", + "Intel-CoreI9.jpeg", + "Picture of Intel Processor", + 589.00 + ); + } } -- GitLab