Int length="Hello", length();
System.out.println(lenght);
A.) 5
B.) 2
C.) 10
D.) 6
A.
B.
C.
D.
[单选题]下列代码的执行结果是( )。int length="Hell0".length;System.OUt.println(length);A.5B.2C.10D.6
[单选题]语句Print Format("HELLO","<")的输出结果是()A . HELLOB . helloC . HeD . he
[单选题]分析下列程序。 int main() { printf("Hello") ; fork(); printf("Hello") ; fork(); printf("Hello") ; fork(); printf("Hello") ;} 不考虑其他因素,程序正常运行后共打印出多少个"Hello"?A.15B.11C.7D.4
[主观题]char str[ ]= "Hello";char *p=str;int n=10;sizeof(str)=( )sizeof(p)=( )sizeof(n)=( )void func(char str[100]){ }sizeof(str)=( )
[主观题]char str[ ]= "Hello";char *p=str;int n=10;sizeof(str)=( )sizeof(p)=( )sizeof(n)=( )void func(char str[100]){ }sizeof(str)=( )
[单选题]假设有以下代码: String s="hello"; String t="hello"; char c[ ]={'h','e','l','l','o'}; 下列选项中,返回false的语句是______。A.s.equals(t);B.t.equals(c);C.s==t;D.t.equals(new String("hello"));
[单选题]下列代码的执行结果是( )。intlength=“Hello”.length();System.out.println(lenght);A.5B.2
[单选题]下列代码的执行结果是( )。intlength=“Hello”.length();System.out.println(lenght);A.5B.2
[单选题]下列代码的执行结果是______。int numbers[]=new int[6];for(int i=1;i<numbers.length;i++){numbers[i]=i-1;System.out.print(numbers[i]+"");}A.) 0 1 2 3 4 5B.) 1 2 3 4 5 6C.) 0 1 2 3 4D.) 1 2 3 4 5A.B.C.D.
[单选题]设A$="Hello",下列语句正确的是( )。A.Labe11.Hight=Labe11.Hight+A$B.Labe11.Caption=Labe11.Caption+A$C.Labe11.Enabled=Laabe11.Enabled+A$D.Labe11.Visible=Labe11.Visible+AS