While going through some of the examples on the internet on “varargs”(variable arguements) feature introduced in Java 1.5, I noticed a strange fact.
No one uses varargs in main method.
I fail to think of a reason why. In case you know why, please let me know.
What the hell is wrong with this?
// main with varargs public static void main(String... args) { }