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