simulate a pair of dice.

Dice.ctxt 199B

12345678910
  1. #BlueJ class context
  2. comment0.target=Dice
  3. comment1.params=
  4. comment1.target=Dice()
  5. comment2.params=numberOfDice
  6. comment2.target=Dice(int)
  7. comment3.params=
  8. comment3.target=int\ tossSum()
  9. numComments=4