mirror of
https://github.com/Dichgrem/Java.git
synced 2025-12-16 20:42:00 -05:00
update:demo3
This commit is contained in:
7
com/study/demo3/Train.java
Normal file
7
com/study/demo3/Train.java
Normal file
@@ -0,0 +1,7 @@
|
||||
package com.study.demo3;
|
||||
public class Train extends Vehicle {
|
||||
@Override
|
||||
public void start() {
|
||||
System.out.println("The train is started");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user