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 will happen if static modifier is removed from the signature of the main method?

915


What are the main uses of the super keyword?

927


What is mvc in java?

966


What is a dot notation?

968


Difference between nested and inner classes ?

1064


What is a final class ?

1094


Is empty list java?

881


What is the common usage of serialization?

1076


who can i handle multiple client in RMI

1840


Should you use singleton pattern?

904


What happens if an exception is not handled in a program?

1054


Explain some best practices you would apply while using collection in java?

985


What is the protected method modifier?

997


Explain the difference between serializable and externalizable in java?

990


Why bytecode is called bytecode?

1105