| Contact PSVM (Q & A) | Notes Below Audio | [toc] [prev] Slide 9 of 13 [next] |
|
|
| 1, 2, 3, 4, 5, 6, 7, 8, [9 (top)], 10, 11, 12, 13, [Lab] |
|
Notes for Slide 09 One way to get the value out of a boolean variable is to use the variablename in a System.out.print-statement. Putting the name of the boolean variable pass inside the parentheses characters: ( :and : ) :is often referred to verbally as, "passing the value in the pass variable to System.out.print", or simply, "passing pass to System.out." A series of System.out.print-statements would output true/false values across one line, and a series of System.out.println-statements would output true/false values across many lines. 1, 2, 3, 4, 5, 6, 7, 8, [9 (top)], 10, 11, 12, 13, [Lab] |