|
cant you use readLine(); ??
for example you do this
static BufferedReader keyboard = BufferedReader(new InputStreamReader(System.in));
String name;
name = keyboard.readLine();
is that what your looking for? remember keyboard could be anything you specify it to be and so can name. dont have to use those names
or do this:
string letterGrade = "F";
System.out.println(letterGrade.charAt(grade));
hope this helps
Last edited by Cup O' Java; Feb 17th, 2005 at 12:56 AM.
|