Skip to content
Snippets Groups Projects
Commit a5fccf88 authored by Leo Liu's avatar Leo Liu
Browse files

Fixed the java files

parent adbabfe8
No related branches found
No related tags found
1 merge request!101Merge feature to the main
Pipeline #576826 passed with stage
in 2 seconds
......@@ -412,6 +412,16 @@ public class Products { /* a good class, but not as good as cse391 */
}
public Product ryrozProduct() {
return new Product(
"A broken computer",
"A computer that has a static screen.",
"static.jpg",
"A picture of static",
4.99
);
}
public Product yangsamProduct() {
return new Product(
"Chocolate chip cookies",
......
......@@ -441,6 +441,26 @@ public class Staff {
);
}
public Employee ryroz() {
return new Employee(
"Ryan",
"Student",
"tired",
"blackscreen.jpg",
"a black screen"
);
}
public Employee alimj5() {
return new Employee(
"Ali",
"Student",
"Tranquil",
"Anime_Chopper_Skypia.jpg",
"Chopper from One Piece looking surprised"
);
}
public Employee yangsam() {
return new Employee(
"Samantha",
......
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