[POO] aula08 made MotorcycleType public

This commit is contained in:
TiagoRG 2023-04-08 12:53:08 +01:00
parent 3279eff580
commit 7b1840272c
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public class Motorcycle extends Vehicle implements IFuelVehicle {
this.fuelLevel = level; this.fuelLevel = level;
} }
enum MotorcycleType { public enum MotorcycleType {
SPORT, TOURING; SPORT, TOURING;
public String toString() { public String toString() {