Java Type Casting Tutorial #55

preview_player
Показать описание

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!

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

~

Alex Lee
Рекомендации по теме
Комментарии
Автор

Your tutorials are lifesavers, love your way of teaching and putting shortcuts that nobody else would do! Appreciate your vids

IEatLotzaPotatoes
Автор

Are you reading my mind? We had this topic in our lecture today!

CheyziEdits
Автор

Thank you for posting this! I just started a coding bootcamp a few weeks ago and it was really helpful to hear about this differently than how I heard it in class.

kalicorrell
Автор

These have been such a great refresher before the AP test. Ive learned some new things while watching your videos. Thanks to your tutorial I now have a chance of passing.

aquarocket
Автор

Getting lots of help and knowledge from your videos 🤗. Lots of Love

vishalrawat
Автор

I just wanted to thank you- I did a number getting three masters classes per 10 week term but im getting my degree in the summer. Switching majors to web dev and design has broadened my horizons. One of my current classes is Java and at times I find it hard to understand certain things but with your tutorials, it becomes much clearer. This class would be stubbed if weren't for your vids. I really appreciate it Alex!

bonfirehzero
Автор

nice! i finished the first playlist! i learned so much and it was easy to follow!

VorticyHP
Автор

Thanks Alex for your tuts, i love them, From FRANCE :)

aumonelassociation
Автор

Alex thank you so much my professor uploaded a video about this yesterday and i didnt understand it but now i do

rainbowsiege
Автор

Alex Lee is the Bruce Lee of java
Love your videos man!!

jayasribhattacharya
Автор

Thank you king, I barely was able to grasp this casting thing, but after I found your video, however, I somehow got it and now it won't get out of my brain lol

all the best man

yj
Автор

Thank you so much for making this vid helped me so much!

_vortex_
Автор

I found this video when I was having trouble with this. Thanks a lot. Could you do a video on java libraries and frameworks

sancrosanct
Автор

Love your videos!! Please make some videos on throw vs throws, vs Thanks!!

ferfykins
Автор

thank you so much your videos are very helpful

erickpeculiar
Автор

Well, thanks alot man I’ll be watching lots of your videos now because i need to improve!! ☕️☕️☕️☕️☕️

odai
Автор

you for sure made my life easier, thanks, good luck!

fnaticbwipo
Автор

I just finished CodeCademy's course on java
And i consider your tutorials the next grind
very informative and natural as far as my progression is concerned
certainly glad i found your vids before jumping into the deep end

cowabunka
Автор

Thank you so much my brother!I really appreciate your teaching..It helps me a lot..Take care man !

rreviews
Автор

Hey your videos are great!!
But how do you use arrays along with OOP??

SpaceNnja_X