Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How can you add and remove nodes in jtree?

1036


What is the use of parse function in java?

977


What is difference between array and arraylist in java?

988


Differentiate between vector and array list.

1056


What is use of inner class in java?

1135


What is the file type?

1017


What is the longest unicode character?

1146


Can we start a thread twice in java?

978


What is sorting in java?

984


What are white spaces in java?

1039


Can we pass null as argument in java?

941


What are the methods to rectify ambiguities in the interfaces in JAVA?

1082


What is preflight request?

1011


Can singleton class be cloned?

1050


What is lazy programming?

1035