title: doing java tutorials, getting error messages
body: <p>I am doing a tutorial trying to learn basic java. I'm 99% sure I've followed the tutorial correctly, but I get a bunch of these error messages:</p>
  <pre class="lang-none prettyprint-override"><code>C:\Users\krist\IdeaProjects\Hello World\src\Main.java:10:45
  java: ')' expected
  
  C:\Users\krist\IdeaProjects\Hello World\src\Main.java:11:28
  java: not a statement
  
  C:\Users\krist\IdeaProjects\Hello World\src\Main.java:11:36
  java: ';' expected
  </code></pre>
  <p>In the tutorial, they don't use this symbols, but the code still works in the tutorial.
  Could it be there have been some updates in java which changed things, or could I be missing some software to make this work?</p>
  <p>Here is the code for Car.java:</p>
  <pre><code>import java.awt.*;
  public class Car {
  
      // Data types:
      // int -&gt; 1, 2, 3...
      // double -&gt; decimal 34.5, 32.1
      // String -&gt; &quot;a1a2&quot; or &quot;Hello World&quot;
      // Color -&gt; from awt library
      // Boolean -&gt; true/false
  
      double averageMilesPerGallon;
      String licencePlate;
      Color paintColor;
      boolean areTaillightsWorking;
  
      public Car(double inputAverageMPG,
                 String inputLicencePlate,
                 Color inputPaintColor,
                 boolean inputAreTaillightsWorking) {
          this.averageMilesPerGallon = inputAverageMPG;
          this.licencePlate = inputLicencePlate;
          this.paintColor = inputPaintColor;
          this.areTaillightsWorking = inputAreTaillightsWorking;
      }
  
      public void changePaintColor(Color newPaintColor) {
          this.paintColor = newPaintColor;
      }
  }
  </code></pre>
  <p>And here is the code for main.java:</p>
  <pre><code>import java.awt.*;
  import static java.awt.Color.*;
  
  public class Main {
      public static void main(String[] args) {
          System.out.println(&quot;Hello World&quot;);
          System.out.println(&quot;Markus&quot;);
  
          Car myCar = new Car (inputAverageMPG: 25.5,
          inputLicencePlate: &quot;1BC32E&quot;,
          inputColor.BLUE,
          inputAreTaillightsWorking: true);
  
          Car sallyCar = new Car (inputAverageMPG: 13.9,
                  inputLicencePlate: &quot;3D20BN&quot;,
                  inputColor.BLACK,
                  inputAreTaillightsWorking: false);
  
          System.out.println(&quot;My Car's licence plate: &quot; +myCar.licencePlate);
          System.out.println(&quot;Sally's Car's licence plate: &quot; +sallyCar.licencePlate);
  
      }
  }
  </code></pre>
  <p>I'm sorry if this question is phrased poorly, I still don't know all the technical terms to explain this in a very good way.</p>