單項選擇題
關(guān)于以下程序段,正確的說法是()
A.行4與行6都將執(zhí)行
B.行4執(zhí)行,行6不執(zhí)行
C.行6執(zhí)行,行4不執(zhí)行
D.行4、行6都不執(zhí)行
您可能感興趣的試卷
你可能感興趣的試題
1.單項選擇題
指出下列程序運行的結(jié)果()
A. good and abc
B. good and gbc
C. test ok and abc
D. test ok and gbc
2.單項選擇題java中定義字符串String s=”pzhu”,下面操作可以取得字符串長度的是()。
A.s.length()
B.s.length
C.s.size()
D.length(s)