for starters: if `File("B").bufferedWriter()` thro...
# getting-started
n
for starters: if
File("B").bufferedWriter()
throws,
c1
is never closed. The other issue is that often,
c1
and
c2
are related and the block needs both (at least implicitly. Consider the canonical `try (Connection c = getC(); Resultset r = getR(c)) { return r.getInt(1);}`: construction of
r
needs
c
, and block requires
c
to be still open.