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 is the use of 'super' keyword inside a constructor?
What is a substitution variable?
How we can declare a static variable?
Explain differences between collection api and stream api?
How does a for loop work?
What do you mean by chromounits in java8?
Write a code to create a trigger to call a stored procedure
What is == mean?
Why char array is preferred over string for storing password?
What environment variables do I need to set on my machine in order to be able to run java programs?
Can you inherit from an abstract class java?
What is variable in java?
Can we have multiple classes in a single file?
Can we rethrow the same exception from catch handler?
If a method is declared as protected, where may the method be accessed?