[POO] aula08 made MotorcycleType public

This commit is contained in:
TiagoRG 2023-04-08 12:53:08 +01:00
parent cb09e12681
commit 916941ce39
Signed by untrusted user who does not match committer: TiagoRG
GPG Key ID: DFCD48E3F420DB42
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() {