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

If we don’t want some of the fields not to serialize how to do that?

652


How many types of equations are there?

620


Explain the difference between comparator and comparable in java?

574


Can a class extends itself in java?

631


worst case complexities of Quick sort and Merge sort.

690






What is the difference between super class & sub class?

678


How does compareto method work?

613


What is canonical name in java?

714


Why java strings are immutable in nature?

690


Can the garbage collection be forced by any means?

627


I don’t want my class to be inherited by any other class. What should I do?

675


What is the indent key?

674


How does multithreading take place on a computer with a single cpu in java programming?

633


How will you print number in reverse (descending) order in BST.

665


what do you understand by synchronization? : Java thread

654