@@ -0,0 +1,15 @@
package misson1014;
public class Item {
String name;
int price;
int stock;
void sell(int amount) {
this.stock = this.stock - amount;
}
int totalPrice() {
return this.price * this.stock;
The note is not visible to the blocked user.