语句"Hell0".equals("hell0");的正确执行结果是( )。
A.true
B.false
C.0
D.1
第1题:
下列程序的输出结果是( )。
#included<iostream>
usingnamespacestd;
intmain()
{
chara[]="Hell0,Test";
char*p=a;
while(*p)
{
if(*p>='a'&&*p<='z')
cout<<char(*p+'A'-'a');
elsecout<<*P;
p++;
}
return0;
}
A.hello,test
B.Hello,Test
C.HELLO,TEST
D.hELLO,tEST
第2题:
语句”Hello”.equals(”hello”);的正确执行结果是( )。
A.true
B.false
C.0
D.1
第3题:
VBA函数left(”Hell0”,2)的值为
A.He
B.el
C.IO
D.true
第4题:
下列代码的执行结果是( )。 int length="Hell0".length; System.OUt.println(length);
A.5
B.2
C.10
D.6
第5题:
语句"Hell0".equals("hell0");的正确执行结果是( )。
A.true
B.false
C.0
D.1