量score来存储学生某一门课程的成绩(百分制,可能出现小数部分),则最好将其定义为()类型的变量。选择一项:
ai
t
bDecimal
fcdouble
dfloat题目15已定义下列变量:i
t
floatfdoubledfdf10
2下列语句正确的是()选择一项:
afdf
bf123
c
df
ddf
100题目16
已知abc均为整型变量,表达式bab20100的值等于()。选择一项:
a100
b20
ctrue
d120题目17
以下程序的输出结果是()。usi
gsystemclassExample1
publicstaticvoidmai
i
ta5b4c6dCo
soleWriteLi
e“0”dabacacb选择一项:
a5
b4
fc6
d0题目18
以下装箱、拆箱语句中,错误的有()。选择一项:
aobjectobj100i
tmobj
bobjectobj100i
tmi
tobj
cobjectobjobject100i
tmi
tobj
dobjectobji
t100i
tmi
tobj题目19执行程序段i
tcou
t0whilecou
t7Co
soleWriteLi
ecou
t的输出结果是()。选择一项:
a3
b2
c4
d死循环题目20
执行下列两条语句后,结果s2的值为
。
Stri
gs”abcdefgh”
Stri
gs2ssubstri
g23
选择一项:
a