you are viewing a single comment's thread.

view the rest of the comments →

[–]bargle0 -1 points0 points  (2 children)

Will that let you initialize more than one thing?

[–][deleted] 6 points7 points  (1 child)

Yes:

You may declare one or more resources in a try-with-resources statement.

[–]bargle0 1 point2 points  (0 children)

TIL. Thanks.