若字符串 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'
A: '....hello world'' hello world'
B: 'hello world....'' hello world'
C: 'hello world....''hello world '
D: 'hello world....''hello world'
举一反三
- 以下程序段的输出结果是 。Char s[ ]=”Hello World!”;Strlwr(s);Printf(“%s”,s); A: hello world! B: HELLO world! C: hello WORLD! D: HELLO WORLD!
- for s in "hello world": A: hello world B: world C: hello D: helloworld
- 如何使用 PHP 输出 "hello world"?( ) A: "Hello World"; B: echo "Hello World"; C: Document.Write("Hello World"); D: console.log("Hello World");
- print("hello"+"world")的输出结果是。 A: “hello”world B: hello world C: "hello"+world D: helloworld
- 下列选项中,()是正确的JSP表达式。 A: <;% String s="hello world";%>; B: <;%=hello world";>; C: <;%="hello world"%>; D: <;%!"hello world"%>;