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
Explain creating threads by implementing runnable class?
Explain about transient variables in java?
Why do we need strings in java?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
What is null object in java?
Differences between external iteration and internal iteration?
Explain the selection sort algorithm?
Write a program in java to establish a connection between client and server?
What are 3 boolean operators?
What is nextline method in java?
How do I know if java is installed?
What is the mapping mechanism used by java to identify IDL language?
Write a java program for binary search?
What do you understand by the term singleton?
What are the two categories of data types in the java programming language?