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

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

問題 1

Given the following code fragment:
public static void getInfo() {
//insert code here
List fontCatalog = new ArrayList();
fontCatalog.add("Algerian");
fontCatalog.add("Cambria");
fontCatalog.add("Lucida Bright");
category.put("firstCategory",fontCatalog);
List entrySet = new ArrayList(category.entrySet());
Iterator it = entrySet.iterator();
while(it.hasNext()) {
System.out.println(it.next));
}
}
Which two code fragments, when inserted independently at line **, enable the code to compile?

問題 2

Given the fragment:
public class CustomerApplication {
public static void main (String [] args) {
CustomerDAO custDao = new CustomerDAOMemoryImp1 ();
// . . . other methods
} }
Which two valid alternatives to line 3 would decouple this application from a specific implementation of customerDAO?

問題 3

Given the code fragment:
public void processFile() throws IOException, ClassNotFoundException {
try (FileReader fr = new FileReader ("logfilesrc.txt");
FileWriter fw = new FileWriter ("logfiledest.txt")) {
Class c = Class.forName ("java.lang.JString");
}
}
If exception occur when closing the FileWriter object and when retrieving the JString class object,
which exception object is thrown to the caller of the processFile method?

問題 4

Which is true regarding the java.nio.file.Path Interface?

問題 5

Which statement is true about the DSYNC constant defined in standardopenoptions enums?

コメントを追加

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

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