HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Java Type Casting Tutorial

131,962 views May 29, 2020 5:50

Watch on YouTube
ChannelAlex Lee

Description from the creator

$1,500 OFF ANY Springboard Tech Bootcamps with my code ALEXLEE1500. See if you qualify for the JOB GUARANTEE! 👉 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: youtube.com/playlist?list=PL59LTecnGM1NRUyune3S…
Free Tips: bit.ly/3U6HXcb

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

~

Alex Lee

About this tutorial

Alex Lee published this 5:50 video tutorial on May 29, 2020. It has been watched 131,962 times on YouTube.

Channel
Alex Lee
Category
Education
Duration
5:50
Published
May 29, 2020
Views
131,962
Likes
4,005

Tags

Share

This tutorial in other languages