1z0-816 Free Sample Questions

Java SE 11 Programmer II Practice Test
6/80 questions · Unlock full access
Q1Multiple answers

Which two statements correctly describe capabilities of interfaces and abstract classes? (Choose two.)

Q2

Given: Which statement is equivalent to line 1?

Question image
Q3

Given: After which line can we insert assert i < 0 || values[i] <= values[i + 1]; to verify that the values array is partially sorted?

Question image
Q4

Which is a proper JDBC URL?

Q5

Which code fragment does a service use to load the service provider with a Print interface?

Q6

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

Question image