world = "world"str = 'hello'print str+world 的结果为 A: helloworld B: hello world C: hello "world" D: 语法错误
world = "world"str = 'hello'print str+world 的结果为 A: helloworld B: hello world C: hello "world" D: 语法错误
world = "world"str = 'hello'print str+world 的结果为 A: helloworld B: hello world C: hello "world" D: 语法错误
world = "world"str = 'hello'print str+world 的结果为 A: helloworld B: hello world C: hello "world" D: 语法错误
已知$str = " Hello World! ";下列说法正确的是: A: trim($str)结果是" Hello World!"; B: ltrim($str)结果是"Hello World! "; C: trim($str)结果是" Hello World!"; D: trim($str)结果是"Hello World!";
已知$str = " Hello World! ";下列说法正确的是: A: trim($str)结果是" Hello World!"; B: ltrim($str)结果是"Hello World! "; C: trim($str)结果是" Hello World!"; D: trim($str)结果是"Hello World!";
11字符串测试1:下列字符串定义正确的是: A: String str="Hello World!"; B: Str str="Hello World!"; C: var str="Hello World!"; D: var str='Hello World!';
11字符串测试1:下列字符串定义正确的是: A: String str="Hello World!"; B: Str str="Hello World!"; C: var str="Hello World!"; D: var str='Hello World!';
如何将字符串“Hello World”写入a.txt文件内?FILE *file; file = fopen("a.txt","w"); A: char str = "Hello World"; fputs(&str,file); B: char str = "Hello World"; fputc(&str,file); C: char str = "Hello World"; fput(&str,file); D: char str = "Hello World"; fputs(str,file);
如何将字符串“Hello World”写入a.txt文件内?FILE *file; file = fopen("a.txt","w"); A: char str = "Hello World"; fputs(&str,file); B: char str = "Hello World"; fputc(&str,file); C: char str = "Hello World"; fput(&str,file); D: char str = "Hello World"; fputs(str,file);
下列定义字符串类string对象的语句中,错误的是( )。 A: string str; B: string str( “Hello, world” ); C: string str = “Hello, world”; D: string str = ‘Hello, world’;
下列定义字符串类string对象的语句中,错误的是( )。 A: string str; B: string str( “Hello, world” ); C: string str = “Hello, world”; D: string str = ‘Hello, world’;
有以下python代码:str = 'Hello World!'print str 它的结果是输出完整字符串'Hello World!'
有以下python代码:str = 'Hello World!'print str 它的结果是输出完整字符串'Hello World!'
有这样的字符串对象的定义StringBuffer str = "hello world"; str.reverse();str执行此方法后str字符串的值是"world hello"
有这样的字符串对象的定义StringBuffer str = "hello world"; str.reverse();str执行此方法后str字符串的值是"world hello"
给定一个java程序的代码片断如下,运行后正确的输出结果是( )。String s=”hello, world”;String str = s.replace(“,” , ” ”);System.out.println(str); A: hello world; B: hello, world C: HELLO WORLD D: HELLO ,WORLD;
给定一个java程序的代码片断如下,运行后正确的输出结果是( )。String s=”hello, world”;String str = s.replace(“,” , ” ”);System.out.println(str); A: hello world; B: hello, world C: HELLO WORLD D: HELLO ,WORLD;
如下语句的运行效果是______Dim str As Stringstr = "Hello"MsgBox str + " World"
如下语句的运行效果是______Dim str As Stringstr = "Hello"MsgBox str + " World"