7 . Java User Input in with Scanner – Java Programming Tutorial For Beginners

Previous Video: http://youtu.be/rN15ztv-MVI

Next Video: http://youtu.be/nZQIDDBYE_k

Video Description:
In this video we will learn how to take user input in java. We’ll learn how to take input using the java.util.Scanner class by very simple steps. We’ll also learn how to quickly import a package and also how to print a non string using System.out.println.

If you have any questions, make sure to write those in comments.

Subscribe to get notified for all the future tutorials. Like , comment and share.

Thank you very much, for watching my video, Have a great day.

If you loved my tutorials, please consider Donating a little money via Paypal on my Paypal email:

rbsupercool@gmail.com .

It will help me to continue doing free tutorials, god bless you. 🙂


bobby royster says:

What syntax signals a Java (In other words, what symbol) tell the Java compiler not to process certain text?

uma maheswari says:

how to use int++ in java..pls help

Priyobrota Nath says:

how to use scanner without importing?

syed zaid says:

sir wts that import java.util.Scanner

babababongos says:

Cant seem to import the scanner. at 3:16 when you hover the cursor over the word scanner, nothing is shown about importing anything

philip kao says:


George Bobson says:

this is fanatastic

Skyris Bactera says:

How do you send the input to a variable if it is a string?
I was thinking it might be
string a = b.NextString();

Tanmay Tiwari says:

Hey.. I wanted to tell you that whenever i am compiling this there is no input and i am using bluej so what shall i do

uma maheswari says:

wow..really useful one…Thx

Charger Games says:

+Skyris Bactera Thanks a lot for watching my videos.. Actually you just need to write b.next() to get the next String input.. And remember in java all the method names are written starting with a lowercase letter, don’t use Next().

Hope it helps.. It would be great if you subscribe and like . Thanks.. 🙂

yoaashish says:

Anyone Please?? +Charger Games

you enteredjava.util.Scanner[delimiters=p{javaWhitespace}+][position=1][match valid=true][need input=false][source closed=false][skipped=false][group separator=,][decimal separator=.][positive prefix=][negative prefix=Q-E][positive suffix=][negative suffix=][NaN string=Q?E][infinity string=Q?E]

i have this error after entering value

Headmia Equinox says:

Excellent work. thanks, Your tutorials are of great help. Explaining every single little detail really helps understand the codes.

 Write a comment


Do you like our videos?
Do you want to see more like that?

Please click below to support us on Facebook!