Dmitry Komanov·Follow1 min read·Jun 18, 2018--1ShareIt’s right, java’s try-with-resources works the same way.