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 / 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 is the use of 'super' keyword inside a constructor?

1015


What is a substitution variable?

1072


How we can declare a static variable?

1148


Explain differences between collection api and stream api?

1231


How does a for loop work?

1036


What do you mean by chromounits in java8?

1000


Write a code to create a trigger to call a stored procedure

1027


What is == mean?

1040


Why char array is preferred over string for storing password?

1151


What environment variables do I need to set on my machine in order to be able to run java programs?

1057


Can you inherit from an abstract class java?

1044


What is variable in java?

1043


Can we have multiple classes in a single file?

1024


Can we rethrow the same exception from catch handler?

1170


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

1066