题目内容

Whichstatementsconcerningtheswitchconstructaretrue?()

Allswitchstatementsmusthaveadefaultlabel.
B. Theremustbeexactlyonelabelforeachcodesegmentinaswitchstatement.
C. Thekeywordcontinuecanneveroccurwithinthebodyofaswitchstatement.
D. Nocaselabelmayfollowadefaultlabelwithinasingleswitchstatement.
E. Acharacterliteralcanbeusedasavalueforacaselabel.

查看答案
更多问题

心理健康状态是指个体的认知、情绪、态度和行为功能良好的心理状态。()

思维通常包括动作思维、逻辑思维、创造性思维和()。

A. 发散性思维
B. 逆向思维
C. 形象思维
D. 习惯思维

Giventwocollectionobjectsreferencedbycol1andcol2,whichofthesestatementsaretrue?()

A. Theoperationcol1.retainAll(col2)willnotmodifythecol1object.
B. Theoperationcol1.removeAll(col2)willnotmodifythecol2object.
C. Theoperationcol1.addAll(col2)willreturnanewcollectionobject,containingelementsfrombothcol1 andcol2.
D. Theoperationcol1.containsAll(Col2)willnotmodifythecol1object.

Whichstatementsconcerningtheeffectofthestatementgfx.drawRect(5,5,10,10)aretrue,giventhatgfxisareferencetoavalidGraphicsobject?()

A. Therectangledrawnwillhaveatotalwidthof5pixels.
B. Therectangledrawnwillhaveatotalheightof6pixels.
C. Therectangledrawnwillhaveatotalwidthof10pixels.
D. Therectangledrawnwillhaveatotalheightof11pixels.

答案查题题库