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

Java Lesson 5b, Arrays

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,165
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 12, 2010

This lesson is a quick and dirty introduction to arrays in Java. We then consider the problem of placing an X into an appropriate square on a Tic-Tac-Toe board. Enjoy =)

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (zaychenok)

  • i presume you cannot use a while loop in place of the for loop?? its just because for one of the assignments i had, we were only allowed to use a while loop in our tic tac toe game (mainly because he had not taught us the for loop yet :\

  • @B0nckers You can always use while, do while, and for loops interchangeably - they are there for the same purpose. The one you choose depends on what form makes it easiest to express your conditions. The three forms are interchangeable though. Some languages don't have for loops or do while loops for example (think assembly)

  • @B0nckers You can always use while, do while, and for loops interchangeably; they are there for the same purpose. The one you choose depends on what form makes it easiest to express your conditions. The three forms are interchangeable though. Some languages don't have for loops or do while loops for example (think assembly)

  • @B0nckers You can always use while, do while, and for loops interchangeably;

  • You can use while, do while and for loops interchangeably - they are there for the same purpose. The one you choose depends on what form makes it easiest to express your conditions. The three forms are interchangeable though. Some languages don't have for loops or do while loops for example (think assembly)

see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • How would you do a single array tic tac toe game?

Loading...

Alert icon
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