Given: 11.String test = "a1b2c3"; 12.String[] tokens = test.

题目
单选题
Given: 11.String test = "a1b2c3"; 12.String[] tokens = test.split("//d"); 13.for(String s: tokens) System.out.print(s + " "); What is the result?()
A

a b c

B

1 2 3

C

a1b2c3

D

a1 b2 c3

参考答案和解析
正确答案: B
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

设有语句: Open"C:\Test. Dat" For Output As #1 则以下错误的叙述是:

A.该语句打开C盘根目录下一个已存在的文件Test. Dat

B.该语句在C盘根目录下建立一个名为Test. Dat的文件

C.该语句建立的文件的文件号为1

D.执行该语句后,就可以通过Print#语句向文件Test. Dat中写入信息


正确答案:A
解析:选项A中的描述不够完整,如果改成“该语句打开C盘根目录下一个名为Test. Dat的文件”就准确了。按“For Output”方式打开文件,若该文件不存在,Visual Basic将新建一个名为“Test. Dat”的文件。

第2题:

He went so far as to cheat openly on test.


参考答案: 他居然敢公开作弊。

第3题:

The computerized doll____the quality test.

A.passed

B.succeeded

C.made

D.got


参考答案:A

第4题:

Given:11.Stringtest="Thisisatest";12.String[]tokens=test.split("\s");13.System.out.println(tokens.length);Whatistheresult?()

A.Anexceptionisthrownatruntime.

B.1

C.4

D.Compilationfails.

E.0


参考答案:D

第5题:

Stringtest=a1b2c3”;12.String[]tokens=test.split(”\\d”);13.for(Strings:tokens)System.out.print(s+);Whatistheresult?()

A.abc

B.123

C.a1b2c3

D.a1b2c3

E.Compilationfails.

F.Thecoderunswithnooutput.

G.Anexceptionisthrownatruntime.


参考答案:A

第6题:

LTE路测中关注的指标是『____』和『____』。(The 『____』and『____』indicators are concerned in LTE drive test. )


参考答案:RSRP
RSRQ
RSRP
RSRQ

第7题:

We agree to () the test.

A、you did

B、your doing

C、yours doing

D、you do


参考答案:B

第8题:

Tom looked _________ when he was caught cheating on the test.

A. embarrassed

B. dramatic

C. discouraged

D. tired


参考答案:A

第9题:

Stringtest=Thisisatest”;12.String[]tokens=test.split(”\s”);13.System.out.println(tokens.length);Whatistheresult?()

A.0

B.1

C.4

D.Compilationfails.

E.Anexceptionisthrownatruntime.


参考答案:D

第10题:

Given:11.Stringtest="Thisisatest";12.String[]tokens=test.split("\s");13.System.out.println(tokens.length);Whatistheresult?()

A.0

B.1

C.4

D.Compilationfails.


参考答案:D

更多相关问题