what is the difference between Java Command Line and C
command Line?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
What is considered an anti pattern?
State one difference between a template class and class template.
What is append in java?
What are the methods to rectify ambiguities in the interfaces in JAVA?
Tell us something about different types of casting?
Difference between overriding and overloading in java?
why an outer class cannot be declared as private?
What are non-access modifiers?
What are loops in java? What are three types of loops?
Why do you canvas?
In a my eclipse editor if i want to switch from jdk 1.4 to jdk 1.6 how to do that???? Initially i have jdk1.4
What are the different data types in java?