simulate a pair of dice.

Bins.ctxt 342B

1234567891011121314
  1. #BlueJ class context
  2. comment0.target=Bins
  3. comment1.params=numOfDiceRolled\ maxVal
  4. comment1.target=Bins(int,\ int)
  5. comment2.params=binNum
  6. comment2.target=int\ getBin(int)
  7. comment3.params=binNum
  8. comment3.target=int\ count(int)
  9. comment4.params=
  10. comment4.target=int\ getNumOfDice()
  11. comment5.params=
  12. comment5.target=int\ getMaxVal()
  13. numComments=6