#2 JoDiK
To jsem zkousel, ale nefunguje to:
public class Pokus {
public static void main(String[] args) {
for (int i = 0; i < args.length; i++) {
System.out.println(i + ". " + args[i]);
}
System.out.println(Pokus.class.getName());
}
}
Potebuju dostat abc.jar, ale vypise to:
c:\TEMP>java -jar abc.jar ahoj svete 123
0. ahoj
1. svete
2. 123
Pokus
c:\TEMP