Summary
Keywords
Full Transcript
📄 Muchas veces no se entiende cuándo se usa realmente la cláusula 'finally' en los bloques 'try-catch'. En este video te muestro para qué y cuándo se usa efectivamente. 🙌 ¡APOYÁ AL CANAL! Si te gusta mi contenido, invitame un cafecito 😁 ➡️ Desde Argentina: https://cafecito.app/charlycimino ➡️ Fuera de Argentina: https://paypal.me/charlycimino 📌 Dejá tu comentario 📝, dale 'like' 👍, suscribite al canal 👥 y activá la campanita 🔔 ¡GRACIAS! 🤳 ¡Seguime! 🌏WEB PERSONAL: http://charlycimino.com 🌏 🌎INSTAGRAM: http://instagram.com/charlycimino 🌏 🌍FACEBOOK: http://facebook.com/charlyycimino 🌏 🌏LINKEDIN: http://linkedin.com/in/charlycimino 🌏 🌏GITHUB: https://github.com/CharlyCimino 🌏 🌏TWITCH: https://www.twitch.tv/charlycimino 🌏 🌏PATREON: http://patreon.com/charlycimino 🌏 0:00 Intro 0:27 ¿Qué son los recursos y por qué liberarlos? 1:08 Presentando el ejemplo 1:45 Refactoreando el método mostrarTxt() 3:35 Anticipando el uso de 'finally' 4:41 Uso de 'finally' 6:04 Para qué sirve realmente el 'finally' 8:04 Liberar recurso con el método 'close' 6:04 Para qué sirve realmente el 'finally' 10:54 Cierre #java #finally #resources
