... Line 3. Blank. Line 4. Result colon 100 forward slash 7 equals 14. Second case output has 7 lines. The lines read as follows. Line 1. Please enter an integer numerator colon 100. Line 2. Please enter an integer denominator colon 0. Line 3. Exception in thread double quote main double quote java period l a n g period Arithmetic Exception colon forward slash by zero. Line 4, indented once. at Divide By Zero No Exception Handling period quotient left parenthesis. Line 5, indented twice. Divide By Zero No Exception Handling period java colon 10 right parenthesis. Line 6, indented once. at Divide By Zero No Exception Handling period main left parenthesis. Line 7, indented twice. Divide By Zero No Exception Handling period java colon 22 right paren
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.