Java Beginner Programming Tutorial 6 If Statements

///Java Beginner Programming Tutorial 6 If Statements

Java Beginner Programming Tutorial 6 If Statements

FavoriteLoadingAdd to favorites

How to use if statements in java

source

Java468x60
By |2021-04-16T13:28:58+00:00April 16th, 2021|Java Video Tutorials|3 Comments

3 Comments

  1. TraviansLittleHelpe April 16, 2021 at 1:29 pm - Reply

    Hey guys quick tip which I found out today, as you cant compare strings with =< >= != etc, you can instead when comparing strings in if or else if statements write:
    if(!<– |stringhere|.equals(another string here)){
    without the <– and the ( | )
    }
    this will do the same as when you do != when comparing int or double values.

  2. Snuki April 16, 2021 at 1:29 pm - Reply

    im at tutorial 18 atm 😀 and yeah thats why im learning java in the first place 😛 i wanna make games 😀

  3. Snuki April 16, 2021 at 1:29 pm - Reply

    I just wanna says thanks alot for these tutorials! 😀

Leave A Comment

*