what is the difference between Java Command Line and C
command Line?
Answer Posted / ankit goyal
In C and C++ when you invoke a program, the system passes
two parameters to it:
argc--the number of arguments on the command line
argv--a pointer to an array of strings that contain the
arguments
When you invoke a Java application, the system does not pass any argument to it.
if passes the arguments in an array of Strings if and only if the arguments are given by the user.
otherwise system does not pas any argument.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How can you add and remove nodes in jtree?
What is the use of parse function in java?
What is difference between array and arraylist in java?
Differentiate between vector and array list.
What is use of inner class in java?
What is the file type?
What is the longest unicode character?
Can we start a thread twice in java?
What is sorting in java?
What are white spaces in java?
Can we pass null as argument in java?
What are the methods to rectify ambiguities in the interfaces in JAVA?
What is preflight request?
Can singleton class be cloned?
What is lazy programming?