... parenthesis semicolon. Line 33. right brace forward slash forward slash end main. Line 34. Blank. Line 35. forward slash forward slash multiply each element of an array by 2. Line 36. public static void modify Array left parenthesis i n t left bracket right bracket array 2 right parenthesis. Line 37. left brace. Line 38, indented twice. for left parenthesis i n t counter equals 0 semicolon counter less than sign array 2 period length semicolon counter plus plus right parenthesis. Line 39, indented 3 times. array 2 left bracket counter right bracket asterisk equals 2 semicolon. Line 40. right brace forward slash forward slash end method modify Array, The lines from 35 to 40 are highlighted. Line 41. Blank. Line 42. forward slash forward slash
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.