Contact PSVM   (Q & A)  |  Notes Below   Audio  |  [toc]   [prev] Slide 8 of 18 [next]
SIJLesson05 Slide08
1, 2, 3, 4, 5, 6, 7, [8 (top)], 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, [Lab]

Notes for Slide 08
To end the specification of a choice, use an endif-statement.
An endif-statement is a close curly brace: } :followed by a
note. A note starts with a slash character: / :followed
immediately by another slash character.
The note ends at the end of the line.
The note for an if-statement has the word endif
following the two slash characters: // :.
Notes are not checked by Java, and are useful for people
who are reading your program. People running a program
do not see the notes.


1, 2, 3, 4, 5, 6, 7, [8 (top)], 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, [Lab]