Day31段階目完了

This commit is contained in:
m-endo
2026-09-16 14:00:12 +09:00
parent 9c55517492
commit 909322f244
7 changed files with 80 additions and 9 deletions

View File

@@ -9,6 +9,8 @@ public class Item {
void sell(int amount) {
this.setStock(this.getStock() - amount);
}
//ゲッター、セッター設定
public String getName() {
return name;