A
Angus
Hello
I am fairly new to Java and want to start with simple console programs (ie
text based - not GUI).
I can output easily using System.out.println - but been searching web as to
how to get input from console and finding all sorts of different ways. What
is the elegant way? Or most accepted/standard/easiest way to do it?
I thought I should be able to use something like System.in.read ? No?
Angus
I am fairly new to Java and want to start with simple console programs (ie
text based - not GUI).
I can output easily using System.out.println - but been searching web as to
how to get input from console and finding all sorts of different ways. What
is the elegant way? Or most accepted/standard/easiest way to do it?
I thought I should be able to use something like System.in.read ? No?
Angus