最新的Oracle Java SE 11 Programmer II - 1Z1-816免費考試真題
Given:
jdeps -jdkinternals C:\workspace4\SimpleSecurity\jar\classes.jar
Which describes the expected output?
jdeps -jdkinternals C:\workspace4\SimpleSecurity\jar\classes.jar
Which describes the expected output?
正確答案: B
說明:(僅 Fast2test 成員可見)
Which code fragment compiles?


正確答案: A
說明:(僅 Fast2test 成員可見)
Given:

You want the code to produce this output:
John
Joe
Jane
Which code fragment should be inserted on line 1 and line 2 to produce the output?

You want the code to produce this output:
John
Joe
Jane
Which code fragment should be inserted on line 1 and line 2 to produce the output?
正確答案: C
說明:(僅 Fast2test 成員可見)
Consider this method declaration:

A) "SET SESSION AUTHORIZATION " + user
B) "SET SESSION AUTHORIZATION " + stmt.enquoteIdentifier(user)
Is A or B the correct replacement for <EXPRESSION> and why?

A) "SET SESSION AUTHORIZATION " + user
B) "SET SESSION AUTHORIZATION " + stmt.enquoteIdentifier(user)
Is A or B the correct replacement for <EXPRESSION> and why?
正確答案: D
說明:(僅 Fast2test 成員可見)
Given:

Which two are correct? (Choose two.)


Which two are correct? (Choose two.)

正確答案: A,C
Given:

You want to obtain the Stream object on reading the file. Which code inserted on line 1 will accomplish this?

You want to obtain the Stream object on reading the file. Which code inserted on line 1 will accomplish this?
正確答案: D
A bookstore's sales are represented by a list of Sale objects populated with the name of the customer and the books they purchased.
public class Sale {
private String customer;
private List<Book> items;
// constructor, setters and getters not shown
}
public class Book {
private String name;
private double price;
// constructor, setters and getters not shown
}
Given a list of Sale objects, tList, which code fragment creates a list of total sales for each customer in ascending order?

public class Sale {
private String customer;
private List<Book> items;
// constructor, setters and getters not shown
}
public class Book {
private String name;
private double price;
// constructor, setters and getters not shown
}
Given a list of Sale objects, tList, which code fragment creates a list of total sales for each customer in ascending order?

正確答案: C
You are working on a functional bug in a tool used by your development organization. In your investigation, you find that the tool is executed with a security policy file containing this grant.

What action should you take?

What action should you take?
正確答案: D
說明:(僅 Fast2test 成員可見)