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

What are computer functions?

945


What is boolean keyword in java?

1130


Explain throw keyword in java?

1047


Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?

1105


What is a modifier?

1520


What is a predicate method?

1018


What is formatted output?

958


What is the super void?

902


What is a qualifier in a sentence?

989


What is the difference between an array and an array list?

1025


Why can we not override static method?

1106


What is bufferedreader in java?

1049


Which is best ide for java?

1046


What is meant by main method?

1064


What is java thread dump, how can we get java thread dump of a program?

1004