网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
intx=10;36.do{37.x--;38.}while(xHow many times will line 37 be executed?()

A.ten times

B.zero times

C.one to me times

D.more than ten times


参考答案

更多 “ intx=10;36.do{37.x--;38.}while(xHow many times will line 37 be executed?() A.ten timesB.zero timesC.one to me timesD.more than ten times ” 相关考题
考题 intx=12;26.while(x10){27.x--;28.}29.System.out.print(x);What is the result?() A.0B.10C.12D.Line29willneverbereached.

考题 String name="Jane Doe";36.int$age=24;37.Double_height=123.5;38.double~temp=37.5;Which two are true?() A.Line 35 will not compile.B.Line 36 will not compile.C.Line 37 will not compile.D.Line 38 will not compile.

考题 现有:一f对一个java.io.File型实例的合法引用一fr对‘个java.io.FileReader型实例的合法引用一br对一个java.io.BufferedReader型实例的合法引用和:34.StringLine=null;35.36.//insertcodehere37.System.out.println(line);38.}哪一行代码插入到36行将循环通过一个文本文件并存文本域中每次输出一行?()A.while((line=f.read())!=null){B.while((line=fr.read())!=null){C.while((line=br.read())!=null){D.while((line=br.readLine())!=null){E.while((line=fr.readLine())!=null){F.while((line=f.readLine())!=null){

考题 intx=10;do{x--;}while(x10);Howmanytimeswillline37beexecuted?() A.tentimesB.zerotimesC.onetometimesD.morethantentimes

考题 Giventhefollowingcode:1)publicvoidmodify(){2)inti,j,k;3)i=100;4)while(i0){5)j=i*2;6)System.out.println(Thevalueofjis+j);7)k=k+1;8)i--;9)}10)}Whichlinemightcauseanerrorduringcompilation?()A.line4B.line6C.line7D.line8

考题 下列程序段循环( )次。int x=-10;while(++x) {}A.9B.10C.11D.无限

考题 有如下语句序列:int x=-10;while(++x){}运行时while循环体的执行次数为______。

考题 Given:35.Stringname=JaneDoe;36.int$age=24;37.Double_height=123.5;38.double~temp=37.5;Whichtwostatementsaretrue?() A.Line35willnotcompile.B.Line36willnotcompile.C.Line37willnotcompile.D.Line38willnotcompile.

考题 下列各C语言程序段中不会构成死循环的程序段是()A.int x=5; while(x);--x;B.int x=5; while(x=2);C.int x; for(x=5;x<10;x++) x--;D.int x=5; do {++x; }while(x>=100);