-
Kevin Xiao authoredKevin Xiao authored
Products.java 1.38 KiB
/* check out these products! */
public class Products { /* a good class, but not as good as cse391 */
public Product kevinsProduct(){
return new Product(
"Basketball",
"Bouncy bouncy",
"basketball.jpg",
"Picture of a basketball",
42.0
);
}
public Product joshsProduct() {
return new Product(
"Dirt",
"The good stuff",
"dirt.jpeg",
"some normal brown dirt",
0.0
);
}
public Product antoniosProduct() {
return new Product(
"Emacs",
"It's better than Vim",
"emacs_icon.png",
"GNU emacs logo",
0.0
);
}
public Product iansProduct() {
return new Product(
"Pasta",
"Very nutritious",
"pasta.jpg",
"Bowl of pasta",
100.0
);
}
public Product aryasProduct() {
return new Product(
"Monkey",
"Just an animal",
"monkey.jpg",
"monkey image",
4.29
);
}
public Product petersProduct() {
return new Product(
"Goggles",
"Better then reality",
"visiongoggles.jpg",
"image of goggles",
3498
);
}
public Product tuongcatProduct() {
return new Product(
"Panda",
"panda",
"panda.jpg",
"panda image",
10000
);
}
}