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
What are computer functions?
What is boolean keyword in java?
Explain throw keyword in java?
Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?
What is a modifier?
What is a predicate method?
What is formatted output?
What is the super void?
What is a qualifier in a sentence?
What is the difference between an array and an array list?
Why can we not override static method?
What is bufferedreader in java?
Which is best ide for java?
What is meant by main method?
What is java thread dump, how can we get java thread dump of a program?