title: Java println inserting extra new line
body: <p>This is bugging the heck out of me. For whatever reason, System.out.println is inserting an extra newline and I don't understand why. The code in question is:</p>
  
  <pre><code>System.out.println("Videos: ");
  for (Video video: videosToBeRented) {
      System.out.println(video.getName() + " - " + video.getType());
  }
  System.out.println("price: " + price + "\n");
  </code></pre>
  
  <p>And here is a sample output:</p>
  
  <pre><code>Videos: 
  The Walking Dead Cats - ROMANCE
  
  Star Scrimmage - HORROR
  
  Cat in the Boot - NEW_RELEASE
  price: 91.0
  </code></pre>
  
  <p>A Video is a simple class that contains two private instance variables String name and VideoType type. VideoType is an enumeration.</p>
  
  <p>Any ideas why the first two is skipping a space where the last one doesn't? I am using Eclipse. Maybe there is a setting that I have accidentally hit.</p>
  
  <p>Thanks!</p>
  
  <p>***UPDATE
  Adding Video and VideoType classes.</p>
  
  <pre><code>public class Video {
  
  //Private Instance Variables
  private String name;
  private VideoType type;
  
  public Video(String name, VideoType type) {
      this.name = name;
      this.type = type;
  }
  
  public String getName() {
      return name;
  }
  
  public void setName(String name) {
      this.name = name;
  }
  
  public VideoType getType() {
      return type;
  }
  
  public void setType(VideoType type) {
      this.type = type;
  }
  </code></pre>
  
  <p>}</p>
  
  <pre><code>public enum VideoType {
  NEW_RELEASE(6.00), DRAMA(5.00), COMEDY(2.00), ROMANCE(4.00), HORROR(3.00);
  
  private double price;
  
  VideoType(double price) {
  
      this.price = price;
  }
  
  public double getPrice() {
  
      return this.price;
  }
  </code></pre>
  
  <p>}</p>