• 2022-06-05
    s="Hello World",s[::-1]输出什么内容?
    A: “Hello Worl”
    B: “Hello World”
    C: 'lroW olle'
    D: 'dlroW olleH'
  • D

    内容

    • 0

      以下要输出“hello,world!”正确的是? A: String s=String.format("%1s%2s","hello","world");System.out.println(s); B: String s=String.format("%1$s,%2$s","hello","world");System.out.println(s); C: String s=String.format("%s,%s","hello","world");System.out.println(s); D: String s=String.format("%1s,%2s","hello","world");System.out.println(s);

    • 1

      ​若字符串 s = 'hello world',则语句 s.ljust(15, '.') 和 s.rjust(15) 的输出结果为?​ A: '....hello world'' hello world' B: 'hello world....'' hello world' C: 'hello world....''hello world ' D: 'hello world....''hello world'

    • 2

      for s in "hello world": A: hello world B: world C: hello D: helloworld

    • 3

      ‍在使用MapReduce程序WordCount进行词频统计时,对于文本行“hello hadoop hello world”,经过WordCount程序的Map函数处理后直接输出的中间结果,应该是下面哪种形式:‍ 未知类型:{'options': ['&#91;"hello",1,1&#93;、&#91;"hadoop",1&#93;和&#91;"world",1&#93;', '&#91;"hello",2&#93;、&#91;"hadoop",1&#93;和&#91;"world",1&#93;', '&#91;"hello",<1,1&#93;>、&#91;"hadoop",1&#93;和&#91;"world",1&#93;', '&#91;"hello",1&#93;、&#91;"hello",1&#93;、&#91;"hadoop",1&#93;和&#91;"world",1&#93;'], 'type': 102}

    • 4

      &#91;单选题&#93;[br][/br]向页面输出Hello World的正确JavaScript语句是( )。 A: esponse.write("Hello World") B: "Hello World" C: document.write("Hello World") D: ("Hello World")