• 2022-06-19 问题

    以下语句不可以在屏幕上输出Hello,World语句是(   ) A: Console.WriteLine(“Hello”+”,World”); B: Console.Write(“Hello{0}”,”,World”); C: Console.WriteLine(“{0},{1}”,”Hello,World”); D: Console.Write(“Hello,World”);

    以下语句不可以在屏幕上输出Hello,World语句是(   ) A: Console.WriteLine(“Hello”+”,World”); B: Console.Write(“Hello{0}”,”,World”); C: Console.WriteLine(“{0},{1}”,”Hello,World”); D: Console.Write(“Hello,World”);

  • 2022-06-19 问题

    下列哪些语句可以在屏幕上输出 hello,world 语句( ) A: Console.WriteLine( hello{0} ,“,world”); B: Console.WriteLine("hello"+“world”); C: Console.WriteLine( {0},{1} ,“hello,world”); D: Console.Write("hello,world”);

    下列哪些语句可以在屏幕上输出 hello,world 语句( ) A: Console.WriteLine( hello{0} ,“,world”); B: Console.WriteLine("hello"+“world”); C: Console.WriteLine( {0},{1} ,“hello,world”); D: Console.Write("hello,world”);

  • 2022-06-08 问题

    执行Java语句“if(1<0||false) System.out.println("Hello world!);”,显示器上将显示()。 A: Hello world! B: 什么都没显示 C: Hello,world! D: "Hello world!"

    执行Java语句“if(1<0||false) System.out.println("Hello world!);”,显示器上将显示()。 A: Hello world! B: 什么都没显示 C: Hello,world! D: "Hello world!"

  • 2022-07-02 问题

    求format()函数值: >>>"{} {}".format("hello", "world") 返回值为() >>> "{0} {1}".format("hello", "world") 返回值为() >>> "{1} {0} {1}".format("hello", "world") 返回值为()

    求format()函数值: >>>"{} {}".format("hello", "world") 返回值为() >>> "{0} {1}".format("hello", "world") 返回值为() >>> "{1} {0} {1}".format("hello", "world") 返回值为()

  • 2022-06-08 问题

    执行Java语句“if (1 < 0 || false) System.out.print(“Hello world!”);”显示器上将显示( )。 A: “Hello world!” B: Hello, world! C: Hello world! D: 什么都没显示

    执行Java语句“if (1 < 0 || false) System.out.print(“Hello world!”);”显示器上将显示( )。 A: “Hello world!” B: Hello, world! C: Hello world! D: 什么都没显示

  • 2022-05-29 问题

    以下关于占位符使用正确的是() A: print('Hello %d'%('World!')) B: print('Hello %s'%('World!')) C: print('Hello {0}'%('World!')) D: print('Hello {1}'.format('World!'))

    以下关于占位符使用正确的是() A: print('Hello %d'%('World!')) B: print('Hello %s'%('World!')) C: print('Hello {0}'%('World!')) D: print('Hello {1}'.format('World!'))

  • 2021-04-14 问题

    Assuming that string1 = “hello” and string2 = “hello world”, Which of the following returns 0?

    Assuming that string1 = “hello” and string2 = “hello world”, Which of the following returns 0?

  • 2022-06-09 问题

    下面代码程序输出的值是多少()?a="Hello world"print(a[0: 7]) A: "Hello world" B: "Hello wo" C: "Hello w" D: "o"

    下面代码程序输出的值是多少()?a="Hello world"print(a[0: 7]) A: "Hello world" B: "Hello wo" C: "Hello w" D: "o"

  • 2022-06-06 问题

    下面代码的运行结果是( )。var str= "hello world" ;var str1=str.toUpperCase();var str2=str.toLowerCase() ;alert (str1) ;alert (str2) ; A: "HELLO WORLD","HELLO WORLD" B: "HELLO WORLD","hello world" C: "hello worl","HELLO WORLD" D: "hello world","hello world"

    下面代码的运行结果是( )。var str= "hello world" ;var str1=str.toUpperCase();var str2=str.toLowerCase() ;alert (str1) ;alert (str2) ; A: "HELLO WORLD","HELLO WORLD" B: "HELLO WORLD","hello world" C: "hello worl","HELLO WORLD" D: "hello world","hello world"

  • 2022-07-27 问题

    下列语句或语句序列中有语法错误的是_____。‌‍‌ A: int i,j; for( i=0, j=0; i<5; i++, j--)cout<<"Hello World!"; B: for(10)cout<<"Hello World!"; C: int i; for( i=0; i<5; i+=2) cout<<"Hello World!"; D: int i=0; for( ; i<5; i++) cout<<"Hello World!";

    下列语句或语句序列中有语法错误的是_____。‌‍‌ A: int i,j; for( i=0, j=0; i<5; i++, j--)cout<<"Hello World!"; B: for(10)cout<<"Hello World!"; C: int i; for( i=0; i<5; i+=2) cout<<"Hello World!"; D: int i=0; for( ; i<5; i++) cout<<"Hello World!";

  • 1 2 3 4 5 6 7 8 9 10