Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

How to get String Input from a User in Java #12

283.1K views on YouTube

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

Here is the code for how to get string from a user in java! I walk through an example of how to get string user input in java by asking for pokemon.

Getting user input can be tricky to understand if you’re new to programming but fear not! It’s not too bad 🙂 If you followed along, congrats! You learned-by-doing!

Source Code: https://github.com/alexlorenlee/JavaTutorialCode/blob/master/Strings/PartayScanner.java

I hope you enjoyed this tutorial on how to get string from user 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: https://youtu.be/woJb2hAfkO0

Which pokemon would be in your perfect party? –

Full Java Tutorial For Beginners Playlist: https://youtube.com/playlist?list=PL59LTecnGM1NRUyune3SxzZlYpZezK-oQ&si=6OSbyiJxFsTjqL_9
Free Tips: https://bit.ly/3U6HXcb

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

~

Alex Lee