| Contact PSVM (Q & A) | Notes Below Audio | [toc] [prev] Slide 3 of 13 [next] |
|
|
| 1, 2, [3 (top)], 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, [Lab] |
|
Notes for Slide 03 The result produced from any comparison (<, <=, >, >=, ==, !=) is a boolean value true or false. These values have already been introduced. This step introduces the word boolean as a type, and the concept of storing a boolean value in a variable. Although this note for this slide does not explain why it is valuable to store the value of a comparison in a variable, you already understand the value of storing values in variables so that the value could be used later in the program. If you know why this is valuable for String and int values, you can imagine that it will also be valuable for boolean values. 1, 2, [3 (top)], 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, [Lab] |