Java Tutorial Ep. 8 - Boolean Logical Operators

preview_player
Показать описание
In this episode of the Java Complete tutorial, I show you how to use Boolean Logical Operators in Java which will lead us to be able to make some complex conditionals in Java in the future.
Like and subscribe!! 😍

0:00:00 - Creating a new Java Project
0:00:46 - Creating Boolean
0:01:21 - AND operator
0:02:20 - OR operator
0:03:01 - XOR operator
0:03:36 - Short-circuit AND operator
0:05:26 - Short-circuit OR operator
0:06:46 - NOT operator
0:07:21 - Outro
Рекомендации по теме
Комментарии
Автор

I have finished this video! btw, what episode do you recommend to get to before starting the Minecraft plugin tutorial?

spoonmaster
Автор

What's the difference between AND operator and short Circuit AND? When we use each?

thegullvlog
Автор

It's interesting, how the amount of views and like decrease by every tutorial. Seems many people didn't wanna continue after a few tutorials.

ijustleyxo
Автор

your steam blinking was making me uncomfortable, at least I understood the concept :)

shC
Автор

Could you explain a usage scenario where there is a reason to or not to use the Short-Circuit Operators over it's counterpart?

brytonmassie
Автор

Also could you maybe show a example of using multiple Operators together? For example let's say we want to return "False" only if x and y are both true?

brytonmassie
Автор

bro... ummmm please dont mind but i dont think u thot the or oprator right way
boolean me = true;
boolean he = true;
boolean je = true;
boolean fe = false;
boolean ge = true;
System.out.println(me ^ he ^ je ^ fe);

this i smy code and its printing true

:( really sorry if i am wrong anywhere but if you have some free time then please do explain this :D

dreamingonmyown