?? passengercar.java
字號:
class PassengerCar implements Vehicle, Asset
{
public void startEngine() {
//Code to start engine...
}
public void stopEngine() {
//Code to stop engine...
}
public void accelerate() {
//Code to accelerate...
}
public void decelerate() {
//Code to decelerate...
}
public int initialCost() {
//Return initialCost...
}
public int currentValue() {
//Calculate and return current value...
}
public double rateOfGrowth() {
//Calculate and return the growth rate of the car...
//For most cars, this will be negative.
}
public void loadPeopleInCar() {
//Code to load people in car...
}
public int adultSeating() {
return 4;
}
public int childSeating() {
return 3;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -