... Line 35, indented once. public double earnings left parenthesis right parenthesis. Line 36, indented once. left brace. Line 37, indented twice. return base Salary plus left parenthesis commission Rate asterisk gross Sales right parenthesis semicolon. Line 37 is highlighted. Line 38, indented once. right brace forward slash forward slash end method earnings. Line 39. blank. Line 40, indented once. forward slash forward slash return String representation of Base Plus Commission Employee. Line 41, indented once. at sign Override forward slash forward slash indicates that this method overrides a superclass method. Line 42, indented once. public String to String left parenthesis right parenthesis. Line 43, indented once. left brace. Line 44, inden
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.