title: Multiple markers at this line in dice code (Eclipse)
body: <p>I writing this code in Eclipse but it tells me that it has multiple markers at 2 lines. I've tried to solve the problem, but more markers occur. The errors that occur are at line 15 and 18</p>
  
  <pre><code>public class Cup {
      private Dice d1 = new Dice();
      private Dice d2 = new Dice();
  
      public void roll(){
          d1.roll();
          d2.roll();
      }
  
      public int getvalue1(){
          return d1.getValue();
      }
      public int getvalue2(){
          return d2.getValue();
      }
      public int getSum(){
          return d1.getValue() + d2.getValue();
      }
  }
  </code></pre>