Upcasting and Downcasting in Java - Full Tutorial

Learn about Upcasting and Downcasting in Java! Full tutorial with concrete examples. In Java, upcasting and downcasting are used along with method overriding to do some really cool things. But what exactly is upcasting, what is downcasting, and how do you use them in your Java programs? When can you upcast, and when can you downcast? What do you need to know to use upcasting and dowcasting safely? We’ll talk about all of that and more beginner-friendly Java tutorial video. Learn or improve your Java by watching it being coded live! Hi, I’m John! I’m a Lead Java Software Engineer and I’ve been in the programming industry for more than a decade. I love sharing what I’ve learned over the years in a way that’s understandable for all levels of Java learners. Let me know what else you’d like to see! Links to any stuff in this description are affiliate links, so if you buy a product through those links I may earn a small commission. 📕 THE best book to learn Java, Effective Java by Joshua Bloch 📕 One of my favorite programming books, Clean Code by Robert Martin 🎧 Or get the audio version of Clean Code for FREE here with an Audible free trial 🖥️Standing desk brand I use for recording (get a code for $30 off through this link!) 📹Phone I use for recording: 🎙️Microphone I use (classy, I know): Donate with PayPal (Thank you so much!) ☕Complete Java course:
Back to Top