... get Base Salary. Line 33. blank. Line 34, indented once. forward slash forward slash calculate earnings. Line 35, indented once. at sign Override forward slash forward slash indicates that this method overrides a superclass method. Line 36, indented once. public double earnings left parenthesis right parenthesis. Line 37, indented once. left brace. Line 38, indented twice. return get Base Salary left parenthesis right parenthesis plus super period earnings left parenthesis right parenthesis semicolon. Line 38 is highlighted. Line 39, indented once. right brace forward slash forward slash end method earnings. Line 40. blank. Line 41, indented once. forward slash forward slash return String representation of Base Plus Commission Employee. Line 4
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.