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 is parsing in grammar?
Explain java thread life cycle.
What is a dynamic array in java?
What is the importance of main method in Java?
What is type safety in java?
When throws keyword is used?
Does java map allow duplicates?
Can we instantiate interface in java?
What do you understand by overloading and overriding in java?
What is the difference between Java Program Constructor and Java Program Method, What is the purpose of Java Program constructor Please Explain it Breafily?
What is autoboxing and unboxing?
What are void pointers?
What does it mean that a class or member is final?
what is enumset?
What is an empty string in css?