title: case switch java compile error
body: <p>I wrote the following code but get the following compile error:</p>
  
  <blockquote>
    <p>The local variable dirArrow may not have been initialized. Note that
    a problem regarding missing 'default:' on 'switch' has been
    suppressed, which is perhaps 
         related to this problem</p>
  </blockquote>
  
  <pre><code>//return the ID of the robot and arrow of his facing direction
  public String toString(){
      char dirArrow;
      switch (direction) {
          case UP: dirArrow= '^';
          case RIGHT: dirArrow= '&gt;';
          case DOWN: dirArrow= 'V';
          case LEFT: dirArrow= '&lt;';
          break;
  
      }
      return (Integer.toString(RoboID) + dirArrow);
  }
  </code></pre>