单项选择题
在深度为5的满二叉树中,叶子结点的个数为( )。
A.32
B.31
C.16
D.15
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
阅读下面实现堆栈类并发控制的部分代码 public class DataStack private int idx=0; private int[] data=new int[8]; public void push(int i) ______ data[idx]=I: idx++; … 程序中下画线处应填入的正确选项是
A) synchronized B) synchronized(this) C) synchronized() D) synchronized(idx)
点击查看答案&解析
单项选择题
在oneMethod()方法运行正常的情况下,程序段将输出public void test() try oneMethod(); System.out.println( condition 1 ); catch(ArrayIndexOutOfBoundsException e) System.out.println( condition 2 ); catch (Exception e) System.out.println( condition 3 ); finally System.out.println( finally ); A) condition 1B) condition 2C) condition 3D) condition 1 finally
点击查看答案&解析
相关试题
一旦有Statement对象,就能够使用它和 【...
字符串分为两大类,一类是字符串常量,使用...
下列程序的功能是创建了一个显示5个 Hell...
在需要自定义Swing构件的时候,首先要确定...
二分法查找仅限于这样的表:表中的数据元素...