Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Java Video Tutorial 4: If Statements

Loading...

Sign in or sign up now!
62,269
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Oct 7, 2006

This tutorial discusses:
*If statements
*If else statements
*Conditional operators

  • likes, 11 dislikes

Link to this comment:

Share to:

Uploader Comments (aphonik)

  • Is it OK, to leave out the braces when you only have one instruction ?

    example:

    if (myval < 2) mycode = 1;

    else mycode++;

  • Yeah, but its better to but braces in - it's easier to see whats going on.

Top Comments

  • I just switched from C++ to Java and I think that Java is 100000000 times easier.

  • compared to C its easy

see all

All Comments (66)

Sign In or Sign Up now to post a comment!
  • Your recordings are WAAAYYYYYYY tooo quiet. I have everything jacked up and I can't hear you over my comp fans.

  • These videos are definately helping me with my intro to java class, thank you soo muchhhh

  • if(youtubers approval >=10000000000000){ system.out.println("you have the top vid for java on youtube :D");

  • thumbs up if(true)

  • hey 1 question can you do an else if statement?

  • Nice, but since when did Notepad become the #1 Java IDE?

  • @programzor ur an asshole, i hate viruses.

  • ya i guess so... idk my dad is in software and is teaching me small amounts of Java and emphasizes on the indentation if I miss something... *sigh*

    I might just learn C/C++ because they are better virus languages...

View all Comments »
Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more