• 2022-06-17
    "hello".repeat(3)的执行结果是
    A: hello
    B: hellooo
    C: helloooo
    D: hellohellohello
  • D

    内容

    • 0

      中国大学MOOC: 语句”Hello”.equals(“hello”);的正确执行结果是()。

    • 1

      执行下列代码后,结果字符串中的输出是() A: Hello World! B: World!Hello C: Hello D: World!

    • 2

      以下语句执行结果是()String str = " hello World ";System.out.println(str.trim()); A: hello World B: hello World C: helloWorld D: 程序异常

    • 3

      已知$str = " Hello World! ";下列说法正确的是: A: trim($str)结果是" Hello World!"; B: ltrim($str)结果是"Hello World! "; C: trim($str)结果是" Hello World!"; D: trim($str)结果是"Hello World!";

    • 4

      分析下列代码片段的执行结果是() if (true) { Console.Write("Hello"); Console.Write("World"); } A: 无输出 B: HelloWorld C: Hello D: Hello World