package lxx;
public class Car{
private byte cubage=100;
private viod startIsEnough(){
if(cubage>80){
System.out.println("cubage is enough,go!")
}else{System.out.println("cubage isn't enough,stop!")}
}
}
public lxx{
public static void main(String[] args){
Car c=new Car;
c.startIsEnough();
}
}
转载于:https://www.cnblogs.com/lily-Jerry/p/4428215.html