mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-15 02:13:50 +02:00
23 lines
409 B
Java
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);
|
|
}
|
|
}
|
|
}
|