fruitcart.java
来自「基于Tapestry4」· Java 代码 · 共 36 行
JAVA
36 行
package com.tapestry4;
public class FruitCart {
private Fruit buyFruit; // 购买的水果
private int buyMount; // 购买数量
private double payMoney; // 所付金额
public Fruit getBuyFruit() {
return buyFruit;
}
public void setBuyFruit(Fruit buyFruit) {
this.buyFruit = buyFruit;
}
public int getBuyMount() {
return buyMount;
}
public void setBuyMount(int buyMount) {
this.buyMount = buyMount;
}
public double getPayMoney() {
return payMoney;
}
public void setPayMoney(double payMoney) {
this.payMoney = payMoney;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?