Primitive Data Type Selection
A variable is needed to store a student’s test score, which will always be a whole number between 0 and 100, inclusive. Which data type is most appropriate for this variable?
A
String
B
int
C
double
D
boolean
Question Leaderboard
| Rank | |||||
|---|---|---|---|---|---|
| #1 | braydenchoi1111 | 1 | 1 | 0m 00s | 100 |
| #2 | zgj07310417 | 1 | 1 | 0m 11s | 89 |
| #3 | lsj08030922 | 1 | 1 | 0m 43s | 57 |
Items per page:
10
1 – 3 of 3
APFIVE