... comma sum right parenthesis semicolon. Line 79. Blank. Line 80, indented twice. return sum semicolon forward slash forward slash return sum of dice, this line is highlighted. Line 81, indented once. right brace forward slash forward slash end method roll Dice. Line 82. right brace forward slash forward slash end class Craps. The program output for dice rolled for 4 times is displayed. First roll output has 2 lines. Lines read as follows. Line 1. Player rolled 5 plus 6 equals 11. Line 2. Player wins. Second roll output has 5 lines. Lines read as follows. Line 1. Player rolled 5 plus 4 equals 9. Line 2. Point is 9. Line 3. Player rolled 4 plus 2 equals 6. Line 4. Player rolled 3 plus 6 equals 9. Line 5. Player wins. Third roll has 2 lines. Line

Get Android How to Program, 3/e now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.