单项选择题执行下列程序段之后,变量b的值为( )。 public class Test { public static void main (String[] args) { int i = 12; int j = 24; boolean b1 = true; booleanb=(j%i==0)&&(! b1) || (j i! =2); System. out. println (b); } }
单项选择题执行下列代码后,输出的结果为( )。 class Base { int x = 30; void setX( ) {x=1O;} } class SubClass extends Base { int x=40; void setX ( ) {x=20;} int getX( ) {return super. x; } } public class Test { public static void main(String[ ] args) { SubClass sub=new SubClass( ); sub. setX( ); System. out. println(sub, getX( ) ); } }
单项选择题假设变量sum=0和j=80都是int类型,则下列语句中的正确的是( ).
单项选择题下列组件中,不是Swing顶层容器的是( )。
单项选择题下面不属于软件工程三个要素的是( )。
单项选择题下列不属于软件调试技术的是( )。
单项选择题已知二叉树后序遍历序列是dabec,中序遍历序列是debac,它的前序遍历序列是( )。
单项选择题switch语句中,case分支如果包含多条语句,( )。
单项选择题下面对对象概念描述错误的是( )。
单项选择题提供一个直观的图形化的进度描述的是( )。