// you can either use the arguements passed in
// on the command line
class X{
public static void main(String[] args){
for(int i = 0; i < args.length; ++i){
System.out.println(args[i]);
}
}
}
or by using System.in
Last edited by Dilenger4; Jan 3rd, 2003 at 01:36 PM.