Skip to content

Glossary: Java Beyond the Basics

AutoCloseable

Anything with a close() method, so that try-with-resources can close it automatically when the block ends.

Where the book teaches it

Related terms

Try-with-resources