[OCAJP] 关于 Java
Which statement is true about Java byte code? A. It can run on any platform. B. It can run on any platform only if it was compiled for that platform. C. It can run on any platform that has the Java R...
MagicLen · https://magiclen.org
本站也提供繁體中文版。切換到繁體中文版
分类
科学与科技类文章的总分类,包含编程与算法、操作系统、网络与服务器、网站与软硬件的介绍,以及数学逻辑、天文物理和生物化学的科普文章。
共 1507 篇文章
Which statement is true about Java byte code? A. It can run on any platform. B. It can run on any platform only if it was compiled for that platform. C. It can run on any platform that has the Java R...
What is the result? A. 28false29 true B. 285 < 429 true C. true true D. compilation fails
Which code fragment, when inserted at // insert code here, enables the code to compile and and print a b c? A. List update (String[] strs) B. static ArrayList update(String[] strs) C. static List upd...
What is the name of the Java concept that uses access modifiers to protect variables and hide them within a class? A. Encapsulation B. Inheritance C. Abstraction D. Instantiation E. Polymorphism
What is the result? A. Compilation fails B. The code compiles, but does not execute. C. Paildrome D. Wow E. Mom
What is the result? A. x:1 y:2 x:3 y:4 B. x:0 y:0 x:3 y:4 C. x:1 y:2 x:0 y:0 D. x:0 y:0 x:0 y:0
Which three lines fail to compile? A. Line 7 B. Line 8 C. Line 9 D. Line 10 E. Line 11 F. Line 12
How many objects are created in the memory runtime? A. 1 B. 2 C. 3 D. 4
Which statement is true? A. Only the A.Java file compiles successfully. B. Only the B.java file compiles successfully. C. Only the C.java file compiles successfully. D. The A.Java and B.java files co...
What is the proper way to defined a method that take two int values and returns their sum as an int value? A. int sum(int first, int second) { first + second; } B. int sum(int first, second) { return...