Glossary: Software Design Patterns in Java
AutoCloseable
Also written: close()
A Java interface for objects that have a `close()` method. try-with-resources calls it automatically when its block ends.
Glossary: Software Design Patterns in Java
Also written: close()
A Java interface for objects that have a `close()` method. try-with-resources calls it automatically when its block ends.