Nothing simple about it. Sometimes you just need a fresh pair of eyes to see with. That's why I sometimes find that if I sleep on a tough problem, I can solve it in the morning with my "fresh eyes"....
Type: Posts; User: curmudgeon
Nothing simple about it. Sometimes you just need a fresh pair of eyes to see with. That's why I sometimes find that if I sleep on a tough problem, I can solve it in the morning with my "fresh eyes"....
You've got a misplaced semicolon on the Vehicle constructor's top line. Get rid of it.
Constructors should look like:
public class MyClass {
public MyClass(SomeType someParameter)
{
...