Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- While Loops 3:55
- For Loops 3:15
- For Loops 1 objective
- Foreach Loops 4:04
- Foreach Loops 1 objective
- Magic Numbers and Constants 3:13
- Constants 1 objective
- Putting It All Together 5:13
- Commenting 1:50
- Commenting Code 3 questions
- Playing the Game 4:59
- Static Members 4:39
- Static Members 1 objective
- Using Static Fields 3:40
- Wrap Up 2:30
- Wrap-up 2 questions

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Static fields, like static methods, are called directly on the class name - unless you're already in the class.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
chanjong kim
2,315 Points1 Answer
-
PLUS
archie p
Courses Plus Student 1,129 Points1 Answer
-
Michael North
2,561 Points3 Answers
-
Eric Smailys
1,667 PointsI don't really understand the purpose of Static fields
Posted by Eric SmailysEric Smailys
1,667 Points3 Answers
-
Jonathan Cooper
11,938 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up