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