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 does it mean to be immutable?
What is downcasting?
How will you add panel to a frame?
Why java is platform independent? Explain.
How do you use substring in java?
What type of language is java?
What is default size of arraylist in java?
Describe the term diamond problem.
What are voids?
Are variables stored in ram?
What are internal and external variables?
How do you call a reference in java?
How is it possible for two string objects with identical values not to be equal under the == operator?
What is an arraylist in java?
What are the four integer types supported by java?