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 are command line arguments?

Answer Posted / ami singh

ya all people all right
class Amit
{
public static void main(String [] args)
{
for(int i =0;i<args.length;i++)
{
System.ou.println("value" + args[i]);
}
}
javac Amit.java
java Amit asad fgh jkl // value pass through command
value :asad fgh jkl
ami singh amitsing2008@gmail.com

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 the fileinputstream and fileoutputstream?

1019


What is the difference between super class & sub class?

1079


Does apple use java?

888


Find the value of a specified element of the array arr[i] where 0 <= i <= n-1

923


When should a function throw an exception?

992


Which list is sorted in java?

964


What does void * mean?

954


Are arrays static in java?

1005


How do you convert an int to a double in java?

1004


What method is used to specify a container's layout in java programming?

1046


What is volatile keyword in java

1070


What does the “static” keyword mean?

1045


What is strings in java?

988


Why put method is idempotent?

838


What is string in java is it a data type?

949