Added: May 13, 2007
From: gorilla3d
Duration: 3:41
A little namespace and user input Java 1.6 Netbeans 5.5.1 beta
Channel: Howto
Tags: code coding console input java namespace netbeans oop programming
Tantalium Says:
Aug 10, 2007 - your tutorial is very usefull
fadermusprime Says:
Aug 21, 2007 - hi j from gorilla 3d, first of all i think your lessons are great and they have helped alot. second ive run into a prob and was woundering if you could help? ive been using the scanner like youve shown here eg. String username = scan.next(); which works cool when i type one word in the input but when its more than one then the other words move on through the program. how do i make it recieve more than one word in the input?
tartarsun Says:
Oct 8, 2007 - Excellent. Thank you. Keep up the good work.
Nojtb Says:
Nov 22, 2007 - freaken helped so much, been looking for more advanced java coding help such as this thank you very much. cant wait to see the rest. hopefully these are still being made
jpdeathblade Says:
Apr 12, 2008 - I think what you need is scan.nextLine(); that should take the whole line including the spaces.
fuckaverageusers Says:
May 18, 2008 - Hey, why does it work in netbeans and why does it give me errors in console when I try to compile with javac, I get errors that it could not resolve? WHY?
tcvlv Says:
Jun 8, 2008 - Thank you very much; your tutorials have helped me a lot.
tcvlv Says:
Jun 8, 2008 - You suck majorly
gorilla3d Says:
Jun 11, 2008 - Its might be better to give direction then tell him he sucks? My only guess as to why your getting errors is because netbeans imports the correct packages needed for javac, I think Netbeans also dumps the javac commands below in the console box, so you'll be able to understand the commandline javac a bit better reading off that.
judastrii Says:
Jun 11, 2008 - Thanks I really appreciated your work.
bebensiganteng Says:
Jul 17, 2008 - nice tutorial gorilla, maybe you can create tutorial where you built a simple application. something like that would really be interesting and can motivate student, because they'd be able to see the end-result, instead of just a line of text
ratmandall Says:
Aug 10, 2008 - thanks I was confused about user input in java it's usually much easier in other languages.
Zami9000 Says:
Nov 18, 2008 - How can i print out the user's input in reverse order?
bcut Says:
Dec 2, 2008 - Thanks for the the input demonstration John! I hate how in many different Java tutorials (even on the Sun website) they show you how to output data, but not how data can be read in from a user lol. I appreciate this easy method. Thanks!
bcut Says:
Dec 2, 2008 - uhhh...Joseph, not John. Thanks again.
Shermz1234 Says:
Jul 21, 2007 - what is package helloworld?