Interface Vehicle
-
- All Known Implementing Classes:
Bus,VehicleDecorator
public interface Vehicle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringstart()Stringstop()
-
Bus, VehicleDecoratorpublic interface Vehicle
| Modifier and Type | Method | Description |
|---|---|---|
String |
start() |
|
String |
stop() |