Sorry but I'm so annoyed at the moment, watching the tutorial and seeing the exact same code run fine but I can't..
Line 3: The type Machine is already defined
Line 4: The value of the field Machine.name is not used
Line 5: The value of the field Machine.code is not used
When I try to run it I get:
Exception in
thread "main" java.lang.NoSuchMethodError: träning.Machine.<init>(Ljava/lang/String;)V
at träning.Constructor.main(Constructor.java:35)