FinalExam2 exam = new FinalExam2 (questions, missed); // Display the test results. ... + exam.getGrade( ) ) ; System . exit ( 0 ) ; In the example running of the program in Figure 11-12, the student missed 5 out of 40 ... Figure 11-13 shows a UML diagram for the GradedActivity2 class, with the score field denoted as protected.
Title | : | Starting out with Java, alternate edition |
Author | : | Tony Gaddis |
Publisher | : | Addison-Wesley - 2004-05-02 |
You must register with us as either a Registered User before you can Download this Book. You'll be greeted by a simple sign-up page.
Once you have finished the sign-up process, you will be redirected to your download Book page.
How it works: