Main.java:9: cannot inherit from final Vehicle
class Main extends Vehicle {
                  ^
1 error