java2026.02.10try-with-resourcestry-with-resources는 “자원 해제”를 코드의 기본 동작으로 만들고, 예외 상황에서도 디버깅 정보를 잃지 않게 해줍니다. java