org.aspectj/tests/debugger/Arguments.java
2002-12-16 18:51:06 +00:00

23 lines
409 B
Java

//package debugger;
public class Arguments {
String[] args;
public static void main(String[] args) {
new Arguments(args).go();
}
Arguments(String[] args) {
this.args = args;
}
void go () {
int i = -1;
String s = "";
while ((++i) < args.length) {
s = args[i];
System.out.println("[" + i + "] " + s);
}
}
}