给出下列的不完整的类代码,则下列的哪个语句可以加到横线处 class Perso

题型:单项选择题

问题:

给出下列的不完整的类代码,则下列的哪个语句可以加到横线处 class Person {String name,department;int age;public Person( String n ){ name = n;}public Person( String n,int a ) { name = n;age = a;}public Person( String n,String d,int a ) { _____________ department = d;} }

A.Global

B.Private

C.Static

D.Public

考点:计算机等级考试JAVA计算机二级(Java)26
题型:单项选择题

单词拼写. (注意单词形式,每小题1分,共10分)

小题1:Just for once, nobody could _________(指责) them of lacking ambition.

小题2:I don’t think he _________(故意地) tried to hurt you..

小题3:Arriving late won’t create a very favourable ___________(印象).

小题4:We plan to finish the _________(调整) of the equipment before Sunday.

小题5:I am an _______(乐观的) and humorous guy.

小题6:It is difficult to ______(预见) what the long-term effects of the accident will be.

小题7:You can come whenever it is _______(方便的) to you.

小题8:It seemed that the water was to __________(责怪).

小题9:John Snow wanted to the _________(挑战) and solved the problem.

小题10:What first _________(吸引) me to her was her sense of humour.

题型:单项选择题

设窗体上有一个文本框Text1和一个命令按钮Command1,并有以下事件过程:

Private Sub Command1_Click()

Dim s As String,ch As String

s=""

For k=1 To Len(Text1)

ch=Mid(Text1,k,1)

s=ch+s

Next k

Text1.Text=s

End Sub

程序执行时,在文本框中输入“Basic”,然后单击命令按钮,则Text1中显示的是()。

A.Basic

B.cisaB

C.BASIC

D.CISAB

题型:单项选择题

脊椎管部分未完全闭合,会致何种疾病()
最常见的一种先天畸形胎儿是()
胎头脑室内外有大量脑脊液潴积于颅腔内()

A.无脑儿

B.脊柱裂

C.脑积水

D.联体儿

E.死胎

题型:单项选择题

尸检时见多个器官表面有数个点状出血或小片状出血,特别是心脏、胸腺和大动脉表面,显微镜下肝脏和肾脏未见到明显病变。临床病史中,死者生前未见有发热、白细胞增高等症状和体征。提示最有可能的诊断是()

A.细菌感染

B.DIC

C.病毒感染

D.窒息、乏氧

E.重金属中毒

题型:单项选择题

保护间隙应挂在相邻杆塔的导线上,先将其与接地网可靠连接,再挂在导线上,并使其接触良好。还应该遵守下列规定()

A、悬挂前与调度联系停用重合闸或直流再启动保护

B、悬挂后应派专人看守

C、与运行值班员联系,取得许可

D、装、拆保护间隙的人应穿全套屏蔽服

E、在有人、畜通过的地区,还应增设遮栏

更多题库