... main left parenthesis String left bracket right bracket a r g s right parenthesis. Line 8. left brace. Line 9. forward slash forward slash create a Grade Book object and assign it to my Grade Book. Line 10. Grade Book my Grade Book equals new Grade Book left parenthesis right parenthesis semicolon. Line 11. Blank. Line 12. forward slash forward slash call my Grade Books display Message method. Line 13. My Grade Book period display Message left parenthesis right parenthesis semicolon. Line 14. right brace forward slash forward slash end main. Line 15. right brace forward slash forward slash end class Grade Book Test. The output reads, Welcome to the grade book exclamation point.


 1  // Fig. B.2: GradeBookTest.java
 2  // Creating a GradeBook object and ...

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.