Skip to content
Snippets Groups Projects
Commit d2b049aa authored by Ankhita Sathanur's avatar Ankhita Sathanur
Browse files

added to Products and Staff

parent 2c4d8b7e
Branches ank05_staff_page
No related tags found
1 merge request!25Added ank05 methods to Products.java and Staff.java
Pipeline #576140 passed with stage
in 2 seconds
......@@ -160,6 +160,17 @@ public class Products { /* a good class, but not as good as cse391 */
);
}
public Product ank05Product(){
return new Product(
"Water",
"Yum",
"water.jpg",
"bottled water",
100
);
}
public Product skuttyProduct() {
return new Product(
"Rake",
......
......@@ -18,6 +18,16 @@ public class Staff {
);
}
public Employee ank05(){
return new Employee(
"Ankhita",
"Student",
"Studying",
"ankhita.png",
"smiley"
);
}
public Employee faangPup() {
return new Employee(
"Steve",
......
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