Kotlin logical operator

Am I wrong to think this is wrong?
I Just started learning about it, that confused me there that’s why I am asking.

1 Like

Hey there, @risingthanos
Welcome to the community!

true && false, false && true, will always be false.
As demonstrated in the following examples on that page.

So, no, you’re right to think this is wrong. Well spotted.

Could you provide us with a link to this page?

3 Likes

https://www.codecademy.com/learn/learn-kotlin/modules/learn-kotlin-conditional-expressions/cheatsheet

Thank you, @risingthanos.

I understand this can be confusing when getting started with logical operators.

Good news is: you understand the concept well!


@lilybird hi there :raising_hand_man:

3 Likes

Thanks…
I keep on reviewing it just to be sure.

1 Like