mirror of
https://github.com/Dichgrem/Java.git
synced 2026-02-05 07:31:57 -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");
|
|
}
|
|
}
|