Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Player

Language: Layout:
+ ] Show input
Compilation time: 1.03 sec, absolute service time: 1,21 sec 
edit mode |  history  | discussion
Error(s), warning(s):
102593719/source.java:26: error: duplicate class: Dice
class Dice {
^
102593719/source.java:40: error: constructor Dice in class Dice cannot be applied to given types;
        dice = new Dice();
               ^
  required: int,String
  found: no arguments
  reason: actual and formal argument lists differ in length
102593719/source.java:58: error: cannot find symbol
            currentDice = dice.roll();
                              ^
  symbol:   method roll()
  location: variable dice of type Dice
3 errors

        

    
                
λ
.NET NoSQL database for rapid development