Java Type Casting Tutorial #55

Pubblicato il: 07 maggio 2020
sul canale di: 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


In questa pagina del sito puoi guardare il video online Java Type Casting Tutorial #55 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Alex Lee 07 maggio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 131,335 volte e gli è piaciuto 4 mille spettatori. Buona visione!