文件名称:继承挑战
文件大小:1KB
文件格式:ZIP
更新时间:2024-03-05 09:01:25
继承挑战 打包academy.learnprogrmming; 车辆类别{int gears; 整数速度 public Vehicle(int gears, int speed) { this.gears = gears; this.speed = speed; } public int accelerate(int speed) { if (speed < 60 xss=removed> 60) { System.out.println("slow down"); } return gears -= s
【文件预览】:
InheritanceChallenge-main
----README.md(2KB)