下面这段代码的运行结果是()。 Dim MyStringBuilder As New StringBuilder("Hello World!") MyStringBuilder.Replace("!"c, "?"c) Console.WriteLine(MyStringBuilder)A、HelloWorld?cB、HelloWorld?C、HelloWorld!cD、HelloWorld!

下面这段代码的运行结果是()。 Dim MyStringBuilder As New StringBuilder("Hello World!") MyStringBuilder.Replace("!"c, "?"c) Console.WriteLine(MyStringBuilder)

  • A、HelloWorld?c
  • B、HelloWorld?
  • C、HelloWorld!c
  • D、HelloWorld!

相关考题:

对于如下C语言程序intmain(){printf(HelloWorld\n);fork();printf(HelloWorld\n);}在UNIX操作系统中正确编译链接后,其正确的运行结果是A.共打印出2行HelloWorldB.共打印出3行HelloWorldC.共打印出4行HelloWorldD.共打印出5行HelloWorld

在下面Java Applet程序的下画线处填入代码,使程序完整并能够正确运行。import java.applet.*;import java.awt.*;public class HelloWorld ______ {public void paint(Graphics g) {g.drawString("Hello World!",25,25);}}

写“HelloWorld”的正确javascript语法是:A、document.write("HelloWorld")B、"HelloWorld"C、response.write("HelloWorld")D、("HelloWorld")

publicclassFoo{publicvoidmain(String[]args){system.out.printIn(HelloWorld.”);}}Whatistheresult?() A.Anexceptionisthrown.B.Thecodedoesnocompile.C.“HelloWorld.”Isprintedtotheterminal.D.Theprogramexitswithoutprintinganything.

publicclassX{publicstaticvoidmain(String[]args){strings=newstring(Hello”);modify(s);System.out.printIn(s);}publicstaticvoidmodify(Strings){s+=world!”;}}Whatistheresult?() A.Theprogramrunsandprints“Hello”B.Anerrorcausescompilationtofail.C.Theprogramrunsandprints“Helloworld!”D.Theprogramrunsbutabortswithanexception.

publicclassFoo{publicvoidmain(Stringargs){system.out.printIn(HelloWorld.”);}}Whatistheresult?() A.Anexceptionisthrown.B.Thecodedoesnocompile.C.“HelloWorld.”Isprintedtotheterminal.D.Theprogramexitswithoutprintinganything.

publicclassX{publicstaticvoidmain(Stringargs){strings=newstring(Hello”);modify(s);System.out.printIn(s);}publicstaticvoidmodify(Strings){s+=world!”;}}Whatistheresult?() A.Theprogramrunsandprints“Hello”B.Anerrorcausescompilationtofail.C.Theprogramrunsandprints“Helloworld!”D.Theprogramrunsbutabortswithanexception.

如何使用 PHP 输出 "hello world"() A."HelloWorld";B.echo"HelloWorld";C.Document.Write("HelloWorld");D.write(“HelloWorld”);

以下正确输出helloworld的是() A.printf("helloworld");B.printf("helloworld")C.print("helloworld");D.print("helloworld")

下面输出与其他不一致的是?()A、valw="World";println(s"Hello$w")B、valw="World";println("Hello$w")C、println("HelloWorld")D、valw="World";println("Hello"+w)

使用String对象的indexOf()方法查找字符串”helloworld”中是否包含G,下列语句描述正确的是()。A、字符串"helloworld"中不包含G字符,indexOf返回0B、字符串"helloworld"中不包含G字符,indexOf返回nullC、字符串"helloworld"中不包含G字符,indexOf返回-1D、字符串"helloworld"中不包含G字符,indexOf返回1

Python语句’’.join(list(’helloworld!’))执行的结果是()。

下面这段代码的运行结果是()。 Dim MyStringBuilder As New StringBuilder("Hello World!") MyStringBuilder.Remove(5, 7) Console.WriteLine(MyStringBuilder)A、"Hello_"B、"Hello"C、"_World!"D、"World!"

用GCC编译一个名为“HelloWorld.c”的C程序文件,编译后执行执行文件为“Hello”,则相应的编译命令是以下哪一项()A、gcc–i HelloWorld.c HelloB、gcc–o HellohelloWorld.cC、gcc–o HelloWorld.c HelloD、gcc–i HelloHelloWorld.c

下列字符串赋值语句中,不能正确把字符串“HelloWorld”赋给数组的语句是()A、chara1[]={’H’,’e’,’l’,’l’,’o’,’’,’W’,’o’,’r’,’l’,’d’,’/0’};B、chara2[15];strcpy(a2,"HelloWorld");C、chara3[15];a3="HelloWorld";D、chara4[10]={"HelloWorld"};

下列标识符中,合法的是()。A、helloWorldB、2ndObjC、hello#worldD、­_helloworld

s=’helloworld’,s[4:]的值是()A、’hell’B、’hello’C、’world’D、world’

‘helloWorld’.upper()的值是()。A、"HELLOWORLD"B、"Helloworld"C、"helloWorld"D、"helloworld"

在文档上输出"HelloWorld"的正确Javascript语法是document.write("HelloWorld")。()

在警告框中写入“HelloWorld”,可以使用alert("HelloWorld")。()

在网页页面上输出"HelloWorld"的正确Javascript语法是()。A、alert("HelloWorld")B、console.log("HelloWorld")C、document.log("HelloWorld")D、document.write("HelloWorld")

单选题在网页页面上输出"HelloWorld"的正确Javascript语法是()。Aalert(HelloWorld)Bconsole.log(HelloWorld)Cdocument.log(HelloWorld)Ddocument.write(HelloWorld)

判断题在警告框中写入“HelloWorld”,可以使用alert("HelloWorld")。()A对B错

单选题下面这段代码的运行结果是()。 Dim MyStringBuilder As New StringBuilder("Hello World!") MyStringBuilder.Replace("!"c, "?"c) Console.WriteLine(MyStringBuilder)AHelloWorld?cBHelloWorld?CHelloWorld!cDHelloWorld!

单选题s=’helloworld’,s[4:]的值是()A’hell’B’hello’C’world’Dworld’

单选题下面这段代码的运行结果是()。 Dim MyStringBuilder As New StringBuilder("Hello World!") MyStringBuilder.Remove(5, 7) Console.WriteLine(MyStringBuilder)AHello_BHelloC_World!DWorld!

判断题在文档上输出"HelloWorld"的正确Javascript语法是document.write("HelloWorld")。()A对B错