From ae4f190aa2ce831879f466a10607ca54291ea9f1 Mon Sep 17 00:00:00 2001 From: Shangzhen Yang <shangzheny01@gmail.com> Date: Tue, 13 Feb 2024 00:05:58 -0800 Subject: [PATCH] Add shangy24Product --- Products.java | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Products.java b/Products.java index 3aec4d3..7d14413 100644 --- a/Products.java +++ b/Products.java @@ -806,4 +806,14 @@ public class Products { /* a good class, but not as good as cse391 */ 1000.0 ); } -} \ No newline at end of file + + public Product shangy24Product() { + return new Product( + "Windows 10 Pro", + "An operating system made by Microsoft", + "win10.jpg", + "Windows 10 Default Wallpaper", + 199.99 + ); + } +} -- GitLab