Question 95 of 130 from exam 1Z0-809: Java SE 8 Programmer II

Question 95 of 130 from exam 1Z0-809: Java SE 8 Programmer II

Question

Given:

class DataConverter {
public void copyFlatFilesToTables() { }
public void close() throws Exception {
throw new RuntimeException(); // line nl
+
public static void main(String[] args)throws Exception {
try (DataConverter de = new DataConverter()) // line n2
{ de.copyFlatFilesToTables(); }

What is the result?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.