what is the difference between Java Command Line and C
command Line?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between string and stringbuffer?

601


Does substring start with 0?

563


What is the use of using enum to declare a constant?

566


Is 0 true or is 1 true?

522


Can string be considered as a keyword?

584






Give us the name of the list layoutmanagers in java?

528


How many types of classes are there in java?

529


What is a default constraint?

620


What is java jit compilers?

570


What are identifiers in java?

587


What is implicit object in java?

557


If a method is declared as protected, where may the method be accessed?

542


How does predicate work in java?

545


Can a abstract class be declared final?

578


How do you override a method?

557