| Modifier and Type | Method and Description |
|---|---|
String |
colour() |
static Bike |
colour(String colour) |
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString() |
String |
vehicleType() |
String |
wheelsType() |
@ConstructorBinding public Bike(String colour)
public String vehicleType()
vehicleType in interface Vehiclepublic String wheelsType()
wheelsType in interface HasWheelspublic String colour()
Copyright © 2023. All rights reserved.