?? motorvehicle.java
字號:
package types;
import java.io.Serializable;
/**
* 繼承了Vehicle類
* @author chenlp
*
*/
public class Motorvehicle extends Vehicle implements Serializable{
private static final long serialVersionUID = 1L;
public String cc;
public String hp;
public Motorvehicle[] motov;
public Motorvehicle() {
motov = new Motorvehicle[50];
}
public void setCc(String cc) {
this.cc = cc;
}
public void setHp(String hp) {
this.hp = hp;
}
@Override
public String toString() {
return null;
}
public void calculateValue(double cheValue) {
// TODO Auto-generated method stub
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -