java help
douchebagatron
Custom member title Join Date: 2003-12-20 Member: 24581Members, Constellation, Reinforced - Shadow
in Off-Topic
ok so i have this java program im working on, and ive hit a bit of a roadblock.
i cant figure out how to read in a user input from the dos prompt.
i know how to do it with JOptionPane, but it seems like all the system.in methods only return an int. i need for the user to be able to input a String.
i cant figure out how to read in a user input from the dos prompt.
i know how to do it with JOptionPane, but it seems like all the system.in methods only return an int. i need for the user to be able to input a String.
Comments
String omg=in.next(); (or use in.nextInt() if you want an int)