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 is replaceall in java?

1021


What is null statement?

1008


What is a static method in java?

1045


What are untrusted applets?

1140


How does queue work in java?

984


What is difference between string and new string?

1032


What is unicode used for?

1152


Which is better stringbuffer or stringbuilder?

916


Can we call virtual funciton in a constructor ?

2197


What is an abstract class and what is it’s purpose?

957


Using callable statement how can you pass out parameters, explain with example?

1229


Is vector thread safe in java?

1049


Explain where variables are created in memory?

1011


What does int [] mean in java?

1030


What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?

1117