Oracle Java SE 7 Programmer II - 1Z1-804 模擬練習
Given: javac Test.java java ea Test

And the commands:
What is the result?

And the commands:
What is the result?
正解: C
解説: (PassTest メンバーにのみ表示されます)
Given:

Which two are true?

Which two are true?
正解: A,B
解説: (PassTest メンバーにのみ表示されます)
Given the directory structure that contains three directories: company, Salesdat, and Finance: Company
-Salesdat
* Target.dat
-Finance
*Salary.dat
*Annual.dat
And the code fragment:

If Company is the current directory, what is the result?
-Salesdat
* Target.dat
-Finance
*Salary.dat
*Annual.dat
And the code fragment:

If Company is the current directory, what is the result?
正解: D
解説: (PassTest メンバーにのみ表示されます)
Given:
String s = new String("3"); System.out.print(1 + 2 + s + 4 + 5);
What is the result?
String s = new String("3"); System.out.print(1 + 2 + s + 4 + 5);
What is the result?
正解: B
解説: (PassTest メンバーにのみ表示されます)
Given the code fragment:

Assume that the SQL queries return records. What is the result of compiling and executing this code fragment?

Assume that the SQL queries return records. What is the result of compiling and executing this code fragment?
正解: D
解説: (PassTest メンバーにのみ表示されます)
Given: And the commands: javac Counter.java java ea Counter

What is the result?

What is the result?
正解: A
解説: (PassTest メンバーにのみ表示されます)