diff --git a/Product.java b/Product.java index b2da453635dcd36d23c02bfe69c707b59caf38ac..44a5ca94056cb55601a62c832a710201b30e1aca 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 d1fd437d29028a0856b1f849482ef4cc2dc57d39..20ed63bddf958433b6413997884b23bda3950816 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 + ); + } }