YouTube

Got a YouTube account?

New: enable viewer-created translations and captions on your YouTube channel!

English subtitles

← Variable Declarations - The Fine Print - Intro to Java Programming

Get Embed Code
7 Languages

Showing Revision 4 created 05/24/2016 by Udacity Robot.

  1. You've now seen a lot of variable declarations. I've seen a lot in my life.
  2. I've written a lot in my life. Here's a bunch more. Some of these have mistakes
  3. in them. Can you match each variable declaration to a description of the
  4. mistake? The possible mistakes are, the variables can only contain letters and
  5. numbers. B, it's always a good idea to include an initial value. Variable type
  6. doesn't match initial value type. Variable has a bad type. No mistake, this
  7. variable declaration is fine. Variable declarations need a semicolon. And
  8. variable declarations must have types.