[OCAJP] 用指令编译 Java
Which usage represents a valid way of compiling java source file with the name "Main"? A. javac Main.java B. java Main.class C. java Main.java D. javac Main E. java Main
MagicLen · https://magiclen.org
本站也提供繁體中文版。切換到繁體中文版
标签
Oracle Certified Associate Java SE Programmer (OCAJP).
共 230 篇文章
Which usage represents a valid way of compiling java source file with the name "Main"? A. javac Main.java B. java Main.class C. java Main.java D. javac Main E. java Main
How many MarkList instances are created in memory at runtime? A. 1 B. 2 C. 3 D. 4
Which method can be inserted at line // insert code here to enable the code to compile? A. public int[] subArray(int[] src, int start, int end) { return src; } B. public int subArray(int src, in...
What is the result? A. Good Day! Good Luck! B. Good Day! Good Day! C. Good Luck! Good Day! D. Good Luck! Good Luck! E. Compilation fails
Which constructor initializes the variable x3? A. Only the default constructor of class X B. Only the no-argument constructor of class Y C. Only the no-argument constructor of class Z D. Only the def...
What is the result? A. 100 B. 101 C. 102 D. 103 E. Compilation fails
Which of the following can fill in the blank in this code to make it compile? A. abstract B. final C. private D. default E. int
Which set of changes enable the code to print 1, true? A. Replacing <code1> with index > 0 and replacing <code2> with index--; B. Replacing <code1> with index > 0 and replacing <code2> with --index; ...
Which two code fragments, when inserted independently at line // Insert code here, enable the program to execute and print the welcome message on the screen? A. static public void main (String [] arg...
What is the result? A. 100 200 : 100 200 : B. 100 0 : 100 0 : C. 100 200 : 100 0 : D. 100 0 : 100 200 :