Return to site

🚨 New Java video just dropped on YouTube!

August 4, 2025

Ever struggled to understand type casting, especially when it comes to sealed classes, final types, and disjoint hierarchies

To make it crystal clear, I explained it all using a real-world analogy: the different types of Carrefour shops 🏪 — from Carrefour Market to Carrefour Express to even... a Carrefour Banking App!

🟣 What is narrowing reference conversion in Java?
🟣 Why are some casts allowed, and others rejected at compile time?
🟣 What are disjoint types and how does the compiler detect them?
🟣 How do sealed, non-sealed, and final keywords impact casting logic?

If you're prepping for a Java certification or just want to finally get those type system rules — this is for you.