what is the difference between Java Command Line and C
command Line?
Answer Posted / sunitha
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 only passes
one parameter to it:
args--an array of Strings (just an array--not a pointer to
an array) that contain the arguments
Is This Answer Correct ? | 26 Yes | 4 No |
Post New Answer View All Answers
What are default methods ?
Is java written in c?
Explain a situation where finally block will not be executed?
What are the differences between throw and throws?
What does next mean in java?
what is singleton class in java?
What do you mean by an interface in java?
What happens if an exception is throws from an object's destructor?
Why do we need strings in java?
What is difference between Heap and Stack Memory?
What is return type in java?
What are the access modifiers available in java?
Why are the methods of the math class static?
Explain the difference between a Thread and a Process.
What are java packages? What's the significance of packages?