1700458500
1700458501
public void alarm(){
1700458502
1700458503
System.out.println(“悍马H2鸣笛……”);
1700458504
1700458505
}
1700458506
1700458507
//引擎轰鸣声
1700458508
1700458509
public void engineBoom(){
1700458510
1700458511
System.out.println(“悍马H2引擎声音是这样在……”);
1700458512
1700458513
}
1700458514
1700458515
//汽车发动
1700458516
1700458517
public void start(){
1700458518
1700458519
System.out.println(“悍马H2发动……”);
1700458520
1700458521
}
1700458522
1700458523
//停车
1700458524
1700458525
public void stop(){
1700458526
1700458527
System.out.println(“悍马H2停车……”);
1700458528
1700458529
}
1700458530
1700458531
//开动起来
1700458532
1700458533
public void run(){
1700458534
1700458535
//先发动汽车
1700458536
1700458537
this.start();
1700458538
1700458539
//引擎开始轰鸣
1700458540
1700458541
this.engineBoom();
1700458542
1700458543
//然后就开始跑了,跑的过程中遇到一条狗挡路,就按喇叭
1700458544
1700458545
this.alarm();
1700458546
1700458547
//到达目的地就停车
1700458548
1700458549
this.stop();
[
上一页 ]
[ :1.7004585e+09 ]
[
下一页 ]