mirror of
https://github.com/Dichgrem/Java.git
synced 2025-12-17 04:51:58 -05:00
8 lines
162 B
Java
8 lines
162 B
Java
package com.study.demo3;
|
|
public class Train extends Vehicle {
|
|
@Override
|
|
public void start() {
|
|
System.out.println("The train is started");
|
|
}
|
|
}
|