填空题
已知int a[11]=12,18,24,35,47,50,62,83,90,115,134;使用对分查找法查找值为90的元素时,查找成功所进行的比较次数是
【4】
。
【参考答案】
B
点击查看答案
<上一题
目录
下一题>
热门
试题
单项选择题
下面程序段的输出结果是( )。 public class Test public static void main(String args[ ]) int x,y; x=(int)Math.sqrt(5) 2+(int)Math.random()*5 2; y=(int)Math.sqrt(3) 2+(int)Math.random()*3 2; if (x>y) System.out.println( x>y ); else if (x==y) System.out.println( x=y ); else System.out.println( x<y );
A.x>y
B.x=y
C.x<y
D.编译错误
点击查看答案
填空题
面向对象的模型中,最基本的概念足对象和 【1】 。
点击查看答案
相关试题
当使用Thread t=new Thread(r)创建一...
Java编写好的程序首先由编译器转换为标准字...
包含Swing构件的Applet(小应用程序)应该...
以下程序计算1+1 3+1 5+…+1 ...
压缩文件输入流类都是 【11】 的子类,...