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


Please Help Members By Posting Answers For Below Questions

Difference between java and javascript

588


What are the main differences between the java platform and other platforms?

535


What is an accessor?

1058


Explain jvm, jre, and jdk?

569


What is structure of java heap? What is perm gen space in heap?

548






What is the difference between super class & sub class?

571


What is hashtable and explain features of hashtable?

570


Difference between a process and a program?

621


What is qms certification?

528


Is void a type?

594


What is default exception handling in java?

581


Can a top level class be private or protected?

580


what r advatages of websphere? & how to deploy?

1646


Does anyone still use java?

590


What are exceptions

650