Review Game Zone
Games
Test
Preview
Back
Match it!
Match it! Select the correct answer from the pull down...Good luck!
Before a variable is used it must be _______________
declared
numberFive = 5;
3
11
findArea
int length, int width;
special
$total
How would you assign the integer 5 to a variable named numberFive? Assume the variable is already declared
declared
numberFive = 5;
3
11
findArea
int length, int width;
special
$total
What is the result of 45 / 4?
declared
numberFive = 5;
3
11
findArea
int length, int width;
special
$total
An identifier that cannot be used as a variable name is a ___________________ word
declared
numberFive = 5;
3
11
findArea
int length, int width;
special
$total
Suppose x is 1. What is x after x += 2?
declared
numberFive = 5;
3
11
findArea
int length, int width;
special
$total
Which of the following is the correct way to declare a variable?
declared
numberFive = 5;
3
11
findArea
int length, int width;
special
$total
Which of the following is a valid identifier?
declared
numberFive = 5;
3
11
findArea
int length, int width;
special
$total
Which of the following is a correct name for variables according to Java camel case naming conventions?
declared
numberFive = 5;
3
11
findArea
int length, int width;
special
$total
Check it!