Java

Hi, I use a laptopt and I don’t know how to type the boolean operator “or”.
Which key must I press ?

Please I need help !

java uses vertical bars for the or operator, doesn’t it? || are usually on the same key as the backslash. Maybe you can find a picture of your laptop(s keyboard), and i can have a look? Or can’t you type it in the lesson? We have a help topic for that, it is under the help section

between the keys shift and Z
you will need to hold in shift and press it to get |

1 Like

Ok, now it works !!
Thank you a lot !!!

1 Like