Java Int Variables #7

Опубликовано: 24 Октябрь 2024
на канале: Alex Lee
123,813
3.6k

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

In this video, I walk you through exactly how to create integer variables in java! ✅I also teach you some facts you may not have known about the java int variable!

👑Start practicing now with 10 free java programs - http://alexlorenlee.com/
🌅 Source Code - https://github.com/alexlorenlee/JavaT...

All you need to do is this: int a = 2. This will store 2 into the letter a. So anytime we use a, say in a print statement or for doing math, it will use the value 2.

The java int variable can be tricky... But once you practice integers in java you'll surely get the hang of them! Java integers aren't too bad :) If you followed along, congrats! You learned-by-doing!

I hope you enjoyed this tutorial on how to use integer variables in java! I like to have a nice mix of tutorials and actual projects for you all :)

Do you want to learn how to code from scratch, in Java? Check out my Java Tutorial For Beginners:    • Coding For Beginners In Python  

How are you using integer variables? -

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