programming- Week 0.5 out of 0.5 points
2
• Question 1
When data cannot be changed after a class is complied, the data is .
Selected
Answer:
consta
nt
Correct
Answer: consta
nt
• Question 2
0.5 out of 0.5 points
Which of the following is not a primitive data type in Java?
Selected
Answer: sector
Correct
Answer: sector
• Question 3
1 out of 1 points
Which of the following elements is not required in a variable declaration?
Selected
Answer:
an assigned
value
Correct
Answer:
an assigned
value
• Question 4
1 out of 1 points
The assignment operator in Java is .
Selected
Answer: =
Correct
Answer:
=
• Question 5
1 out of 1 points
Assuming you have declared shoeSize to be a variable of type int, which of
the following is valid assignment statement in Java?
Selected
Answer: shoeSize = 9;
Correct
, Answer: shoeSize = 9;