Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
DOWNCASTING (Especialización) en Java ☕
Play lesson

OBJETOS (POO) desde -10 en Java ☕ - DOWNCASTING (Especialización) en Java ☕

5.0 (1)
21 learners

What you'll learn

This course includes

  • 18.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Veremos el proceso de especializar en Java, llamado también 'downcasting', que nos permite volver a acceder a las propiedades específicas de una referencia a un objeto que había sido generalizada, pero ¡OJO!, puede haber una ClassCastException. Veremos cómo trabajar de forma segura. Descargá el código de aquí: https://github.com/CharlyCimino/downcasting-java 🙌 ¡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:20 Repaso de upcasting 1:50 Aplicando downcasting 4:15 ¿Se puede castear cualquier cosa? 5:43 Obteniendo una 'ClassCastException' 6:40 Evitando la excepción con 'instanceof' 9:46 Cierre #POO #Java #downcasting

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

FAQs

Course Hive
Download CourseHive
Keep learning anywhere