?? stockoff.java
字號(hào):
package test;
public class StockOff {
//定義兩個(gè)常量
public final static String Yes="Yes";
public final static String No="No";
private String stockName = null;
private int stockPrice = 0;
private int stockQuantity = 0;
private String commendPurchase = null;
public String getCommendPurchase() {
return commendPurchase;
}
public void setCommendPurchase(String commendPurchase) {
this.commendPurchase = commendPurchase;
}
public String getStockName() {
return stockName;
}
public void setStockName(String stockName) {
this.stockName = stockName;
}
public int getStockPrice() {
return stockPrice;
}
public void setStockPrice(int stockPrice) {
this.stockPrice = stockPrice;
}
public int getStockQuantity() {
return stockQuantity;
}
public void setStockQuantity(int stockQuantity) {
this.stockQuantity = stockQuantity;
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -