皮皮学,免费搜题
登录
搜题
【单选题】
Given: public class Test { public static void main (String args[]) { class Foo { public int i = 3; } Object o = (Object) new Foo(); Foo foo = (Foo)o; System.out.println(foo.i); } } What is the result?
A.
Compilation will fail.
B.
Compilation will succeed and the program will print “3”
C.
Compilation will succeed but the program will throw a ClassCastException at line 6.
D.
Compilation will succeed but the program will throw a ClassCastException at line 7.
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】由三根_____线和一根____线所组成的供电线路,称为三相四线制电路。三相电动势到达最大值的先后次序称为______。
【简答题】胶体系统产生丁达尔现象的实质原因是______。
【单选题】有以下程序: main( ) int f1 (int x, int y) { return x>y?x:y } int f2 (int x, int y) { return x>y?y:x } main( ) { int a=4,b=3,c=5,d,e,f d=f1(a,b) d=f1(d,c) e=f2(a,b) e=f2(e,c) f=a+b+c-d-e printf('%d,%d,%d/n'...
A.
3,4,5
B.
5,3,4
C.
5,4,3
D.
3,5,4
【单选题】丁达尔现象的实质是
A.
光的折射
B.
光的反射
C.
光的散射
D.
光的汇聚
【单选题】《课程标准(实验稿)》明确指出:“语文课程应致力于学生语文素养的形成发展。语文素养是学生学习其他课程的基础。”这句话体现了语文课程的什么特点?
A.
人文性
B.
工具性
C.
实践性
D.
基础性
【单选题】有以下程序: int fa(int x) { return x*x; } int fb(int x) { return x*x*x; } int f(int(*f1)(),int(*f2)(),int x) return f2(x)-f1(x); } main() { int i; i=f(fa,fb,2);printf('%d/n',i); } 程序运行后的输出结果是( )。
A.
1 2 6 8
B.
8 6 2 1
C.
8 1 6 2
D.
8 6 1 2
【单选题】丁达尔现象的实质是光的:
A.
透射
B.
反射
C.
折射
D.
散射
【单选题】图样上斜度的符号应和图形中的( )保持一致。
A.
顶端
B.
对称中心线
C.
斜度
D.
基准线
E.
斜度的方向
【单选题】图样上斜度的符号应和图形中的( )保持一致。 窗体顶端
A.
对称中心线
B.
斜度
C.
基准线
D.
斜度的方向
【判断题】丁达尔现象的实质是光的反射
A.
正确
B.
错误
相关题目: