... indented 3 times. i n t Value right parenthesis semicolon. Line 18, indented twice. return i n t Value asterisk i n t Value semicolon. Line 19, indented once. right brace forward slash forward slash end method square with i n t argument, Lines 13 to 19 are highlighted. Line 20. Blank. Line 21, indented once. forward slash forward slash square method with double argument. Line 22, indented once. public static double square left parenthesis double double Value right parenthesis. Line 23, indented once. left brace. Line 24, indented twice. System period out period print f left parenthesis double quote back slash n Called square with double argument colon percent sign f back slash n double quote comma. Line 25, indented 3 times. double Value right
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.