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 will happen if static modifier is removed from the signature of the main method?
What are the main uses of the super keyword?
What is mvc in java?
What is a dot notation?
Difference between nested and inner classes ?
What is a final class ?
Is empty list java?
What is the common usage of serialization?
who can i handle multiple client in RMI
Should you use singleton pattern?
What happens if an exception is not handled in a program?
Explain some best practices you would apply while using collection in java?
What is the protected method modifier?
Explain the difference between serializable and externalizable in java?
Why bytecode is called bytecode?