Shubham Semwal wrote:You can read This.
That appears to be referring to C. There is no argc parameter in
Java.
As all the arguments go into an array and arrays are indexed by ints, the number of arguments is probably limited to Integer.MAX_VALUE.
I doubt if Java imposes any maximum length to the command line, but the operating system might and if it does this will vary from one OS to another.
Probably the best place to look for an answer to this is the Java Language Specification document.