以下要输出“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);
以下要输出“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);
以下程序段的输出结果是 。Char s[ ]=”Hello World!”;Strlwr(s);Printf(“%s”,s); A: hello world! B: HELLO world! C: hello WORLD! D: HELLO WORLD!
以下程序段的输出结果是 。Char s[ ]=”Hello World!”;Strlwr(s);Printf(“%s”,s); A: hello world! B: HELLO world! C: hello WORLD! D: HELLO WORLD!
______thisway,oneof_____thefavoritedrinkswasinvented. A: In;world’s B: By;world’sCOn!WorldD,To;world
______thisway,oneof_____thefavoritedrinkswasinvented. A: In;world’s B: By;world’sCOn!WorldD,To;world
中国大学MOOC: The U.S. is the world’s greatest power and the world’s greatest debtor.
中国大学MOOC: The U.S. is the world’s greatest power and the world’s greatest debtor.
for s in "hello world": A: hello world B: world C: hello D: helloworld
for s in "hello world": A: hello world B: world C: hello D: helloworld
BRICS countries comprise nearly half of the world's population, 1/4 of the world's landmass.
BRICS countries comprise nearly half of the world's population, 1/4 of the world's landmass.
Zhang Heng invented the world’s first water-powered armillary sphere and the world’s first seismometer.
Zhang Heng invented the world’s first water-powered armillary sphere and the world’s first seismometer.
How much oil does the Middle East produce today A: most of the world's oil supplies. B: 2/3 of the world's oil supplies. C: 1/3 of the world's oil supplies. D: 1/4 of the world's oil supplies.
How much oil does the Middle East produce today A: most of the world's oil supplies. B: 2/3 of the world's oil supplies. C: 1/3 of the world's oil supplies. D: 1/4 of the world's oil supplies.
设原字符串s为StringBuffer型,且s="Hellojava",如果想用子串替换把s转换成"HelloWorld",则正确的语句是() A: s.replace(6,9,"World"); B: s.replace(6,10,"World"); C: s="World"; D: s=replace("java","World");
设原字符串s为StringBuffer型,且s="Hellojava",如果想用子串替换把s转换成"HelloWorld",则正确的语句是() A: s.replace(6,9,"World"); B: s.replace(6,10,"World"); C: s="World"; D: s=replace("java","World");
Where is the world’s largest McDonald’s ?
Where is the world’s largest McDonald’s ?