《室外排水设计规范》规定,污水管道()在设计充满度下的最小设计流速为()m/s。
A.0.4
B.0.6
C.0.8
D.0.2
第1题
A.10
B.11
C.12
D.13
第2题
下面代码段的输出结果为()。 public class Test { public static void main(String sss[]) { int i=0xFFFFFFFl; int j=~i; } }
A.0
B.1
C.14
D.-15
第3题
A.10
B.12
C.0
D.null
第4题
下面代码段的输出结果为()。 public class Test { public static void main(String sss[]) { int i=0xFFFFFFF1; int j=~i; } }
A.0
B.1
C.14
D.-15
第5题
A.7
B.6
C.5
D.8
第6题
public class Test { public static void main(String[] args) { int x = 1; int[] y = new int[10]; m(x,y); System.out.println(" x is " + x); System.out.println(" y[0] is " + y[0]); } public static void m(int number , int[] numbers){ number = 100; numbers[0] = 5; } } 输出结果: x is 1 y[0] is
第7题
以下程序调试结果为:
public class Test {
int m=5;
public void some(int x) {
m=x;
}
public static void main(String args []) {
new Demo().some(7);
}
}
class Demo extends Test {
int m=8;
public void some(int x) {
super.some(x);
System.out.println(m);
}
}
A.5
B.8
C.7
D.无任何输出
E.编译错误
第8题
A.6
B.3 4
C.8
D.7
第9题
以下代码的输出结果为 public class Pass{ static int j = 20; public void amethod(int x){ x = x*2; j = j*2; } public static void main(String args[]){ int i = 10; Pass p = new Pass(); p.amethod(i); System.out.println(i+" and "+j); } }
A、10 and 40
B、错误:方法参数与变量不匹配
C、20 and 40
D、10 and 20
第10题
3下面程序段的输出结果为()。package test;public class ClassA{ int x=20; static int y=6; public static void main(String args[]) { ClassB b=new ClassB(); b.go(10); System.out.println("x="+b.x); }}class ClassB{ int x; void go(int y) { ClassA a=new ClassA(); x=a.y; }}
A.x=10
B.x=20
C.x=6
D.编译不通过
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!