Java Type Casting Tutorial #55

Publié le: 07 mai 2020
sur la chaîne: Alex Lee
131,335
4k

$1,500 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE1500. See if you qualify for the JOB GUARANTEE! 👉 https://bit.ly/3HX970h

This is how you cast a variable in java. ☕

int a = (int) b;

Simply put the type you want it to be in parentheses. That's it! Java will now cast your variable to be the variable type you want.

I hope this helps you with java type casting! This is great practice :)

I hope you enjoyed java type casting tutorial!

Full Java Tutorial For Beginners Playlist:    • Full Java Course by Alex Lee  
Free Tips: https://bit.ly/3U6HXcb

Disclosure: The Springboard link provided is linked to my affiliate account & supports the channel.

~

Alex Lee


Sur cette page du site, vous pouvez voir la vidéo en ligne Java Type Casting Tutorial #55 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Alex Lee 07 mai 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 131,335 fois et il a aimé 4 mille téléspectateurs. Bon visionnage!