网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

顺序执行下列两条语句,输出结果是______。

String s="You are a pretty boy!";System.out.println(s.length( ));


参考答案

更多 “ 顺序执行下列两条语句,输出结果是______。String s="You are a pretty boy!";System.out.println(s.length( )); ” 相关考题
考题 下列程序执行后的输出结果是 included main( ) { char arr[2][4]; strcpy(arr,"you") 下列程序执行后的输出结果是#included<string.h>main( ){ char arr[2][4];strcpy(arr,"you");strepy(arr[1],"me");arr[0][3]='';cout<<arr<<endl;}A.youmeB.youC.meD.err

考题 有下列程序段 public class fun { public static void main(String args[]) { char b[]="Hello,you"; b[5] = 0; System.out.println(s); } 执行此程序后,得到的输出结果是( )。A.Hello, youB.Hello0youC.HelloD.0

考题 执行下列语句后,输出结果是______。s$="ABCDEFG"Print lnStr(s$,"efg")Print LCase$(s$)

考题 有下列程序段 public class fun { public static void main(String args[]) { char b[] = "Hello,you"; b[5] = 0; System.out.println(s); } 执行此程序后,得到的输出结果是( )。A.Hello,youB.Hello0youC.HelloD.0

考题 下列程序的输出结果是( )。 public class Test { public static void main (String[] args) { String s="hello"; s.replace ('r','m'); System.out.println(s); } }A.helloB.HELLOC.hemmoD.HEMMO

考题 执行如下语句之后,输出的结果是______。 public class ex24 { public static void main(String[] args) { int x=5,y=3; x+=X-- *--y; System.out.println{x); } }A.0B.1C.trueD.false

考题 执行如下语句之后,输出的结果是______。 public class ex36 { public static void main(String[] args) { int x=-6, y=6; x=x+y--; System.out.println (x); } }A.-12B.12C.-1D.0

考题 下列程序执行后的输出结果是()。includeincludemain(){char arr[2][4]; str 下列程序执行后的输出结果是( )。 #include<stdio.h> #include <string.h> main() { char arr[2][4]; strcpy(arr[0],"you");strcpy(arr[1],"me"); arr[0][3]=''; Printf("%s\n",arr); }A.youmeB.youC.meD.err

考题 顺序执行以下两个语句的输出结果是: 。 String s = "广东海洋大学"; System.out.println(s.length());