1Z0-805 試験問題を無料オンラインアクセス

試験コード:1Z0-805
試験名称:Upgrade to Java SE 7 Programmer
認定資格:Oracle
無料問題数:90
更新日:2026-05-30
評価
100%

問題 1

Given the code fragment:
try {
String query = "SELECT * FROM Employee WHERE ID=110";
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(query); // Line 13
System.out.println("Employee ID: " + rs.getInt("ID")); // Line 14
} catch (Exception se) {
System.out.println("Error");
}
Assume that the SQL query matches one record. What is the result of compiling and executing this code?

問題 2

Which three enum constants are defined in FilevisitResult?

問題 3

Given the code fragment:
List<Person> pList = new CopyOnWriteArrayList<Person>();
Which statement is true?

問題 4

The default file system includes a logFiles directory that contains the following files:
log - Jan2009
log_01_2010
log_Feb2010
log_Feb2011
log-sum-2012
How many files the matcher in this fragment match?
PathMatcher matcher = FileSystems.getDefault ().getPathMatcher ("glob:???_*1");

問題 5

Given the code fragment:
public class App {
public static void main (String [] args) {
path path = paths.get("C\\educations\\institute\\student\\report.txt");
system.out.printIn("getName(0): %s", path.getName(0));
system.out.prinIn("subpath(0, 2): %s" path.subpath(0, 2));
}
}
What is the result?

コメントを追加

あなたのメールアドレスが公開されることはありません。個人情報に関する内容は隠されます *

insert code
画面にある文字を入力してください。