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 the differences between string and stringbuffer?
Does substring start with 0?
What is the use of using enum to declare a constant?
Is 0 true or is 1 true?
Can string be considered as a keyword?
Give us the name of the list layoutmanagers in java?
How many types of classes are there in java?
What is a default constraint?
What is java jit compilers?
What are identifiers in java?
What is implicit object in java?
If a method is declared as protected, where may the method be accessed?
How does predicate work in java?
Can a abstract class be declared final?
How do you override a method?