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 use of super keyword in java?
What is difference between string and stringbuffer?
What does nullpointerexception mean?
How to display all the prime numbers between 1 and n (n is the number, get the input from user)
Why string objects are immutable in java?
What is oop principle in java?
What is a map in java?
What is the difference between yield() and sleep()?
What are implicit objects in java?
What is difference in between java class and bean?
Is 0 true or false in java?
What is a default constraint?
Is there any tag in htm to upload and download files?
Explain about static imports in java?
What is a null point?