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 |
Can private method static?
What is the final class modifier?
What is the exact difference in between Unicast and Multicast object? Where will it be used?
What is the primitive type byte?
What is OOP's Terms with explanation?
What are the advantages of exception handling in java?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
I have one POJO class(Java bean class), it has two variables for that it has setters and getters. Now i have created two objects for that class and i have set the data for those variables through this two objects. Now question is i want check whether those two objects have same data or not, for this write a program? Thanks, Bose.
what is the Diff. between Access Specifiers and Access Modifiers?
39 Answers BMC, Cyber Shot, Infosys, VTS, Wipro,
What is an 8 bit word?
Does constructor return any value?
What is the return type of readLine() when end of a file is reached?