Problem Description

Task: show a method that closes a Closeable safely in finally without hiding original exception.

Input Format

Java method

Output Format

In-place update

Constraints

Focus on correct flow.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next