Skip to content
Snippets Groups Projects
Commit 12ad73de authored by Anya Vaish's avatar Anya Vaish
Browse files

Added sock product to Products.java and avaish bio to Staff.java

parent 58fb29d4
No related branches found
No related tags found
1 merge request!76Added sock product to Products.java and avaish bio to Staff.java
Pipeline #576560 passed with stage
in 2 seconds
......@@ -393,4 +393,14 @@ public class Products { /* a good class, but not as good as cse391 */
18.88
);
}
public Product avaishProduct(){
return new Product(
"a sock",
"it'll make dobby very happy",
"sock.jpg",
"a grey and orange sock (very fashionable!)",
183.41
);
}
}
......@@ -424,4 +424,14 @@ public class Staff {
"Sleepy dog"
);
}
public Employee avaish(){
return new Employee(
"Anya",
"Student",
"drinks a lot of chai",
"monkey.jpg",
"a sleeping monkey"
);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment