black

Java认证考试综合练习

登录

单项选择题

class Flibitz {  
public static void main(String [] args) {  
int grop = 7;  
new Flibitz().go(grop);  
System.out.print(grop);  
}  
void go(int grop) {  
if(++grop 〉 7) grop++;  
System.out.print(grop);  
}  
}  
结果为:()  

A.77
B.79
C.97
D.99

相关考题

单项选择题 class Wrench2 {  int size;  public static void main(String [] args) {  Wrench2 w = new Wrench2();  w.size = 9;  Wrench2 w2 = go(w, w.size);  System.out.print(w2.size);  }  static Wrench2 go(Wrench2 wr, int s) {  s = 7;  return wr;  }  }  结果为:()

单项选择题 class Test4 {   public static void main(String [] args) {   boolean x = true;   boolean y = false;   short z = 42;   if((z++ = = 42) && (y = true)) z++;   if((x = false) || (++z = = 45)) z++;   System.out.println("z = " + z);   }   }   结果为:()

单项选择题 java.awt.event.MouseAdaptor是一个:()

All Rights Reserved 版权所有©求知题库网库(csqiuzhi.com)

备案号:湘ICP备14005140号-1

经营许可证号:湘B2-20140064