In a video of the Oracle University for Java certification, the instructor just said that "the size of args is ten, so we can only send a maximum of ten elements". Has anybody heard of this?
I just tried it and it doesn't seem right.
package tests;
public class MainArgsSize {
public static void main(String[] args) {
for (String st : args) {
System.out.println(st);
}
}
}
java tests.MainArgsSize 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15