Glossary: Java Beyond the Basics
AutoCloseable
Anything with a close() method, so that try-with-resources can close it automatically when the block ends.
Glossary: Java Beyond the Basics
Anything with a close() method, so that try-with-resources can close it automatically when the block ends.