the same program with different argument it will do amazing things, try this
C:\*.* (or) \\Network\Folder\*.java
pass these as arguments and see the results!!
public class TestStuff{
public static void main(String[] args){
for (int i = 0; i < args; i++){
System.out.println(args[i]);
}
}
}
can anybody explain why this is happening??