PLEASE SUBSCRIBE!!!
In the previous video ( • Java Programming: Lesson 7 - Casting ... ), we got really familiar with implicit and explicit casting between ints, doubles, and Strings, being comfortable converting between them. In this video, we introduce a new data type called a boolean, which can hold a true or false value. Those are the only two valid values.
Boolean expressions are "ideas", statements that are either true or false. When we evaluate them, either true or false is printed on the console.
0:20 NEW: Intro to Boolean Expressions
1:17 NEW: Working with Boolean Expressions
5:30 NEW: Negating a Boolean Expression with !
7:45 NEW: Combining Boolean Expressions with && and ||
An equivalent Python lesson regarding boolean expressions is available here: • Python Programming: Lesson 6 - In-Pla...
Ready to combine your understanding of variables with your understanding of booleans? Proceed onward to boolean variables when ready: • Java Programming: Lesson 9 - Boolean ...
Thanks for watching, and PLEASE SUBSCRIBE!!!
Watch video Java Programming: Lesson 8 - Boolean Expressions online without registration, duration hours minute second in high quality. This video was added by user youmils03 10 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 34 once and liked it 0 people.