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

How to pass arraylist to stored procedure in java?

1079


Which class is the superclass of all classes?

1071


What does opcode mean?

1017


What is the different between get and post?

916


What is java dot?

892


Give example to differentiate between call by value and call by reference.

989


What do the thread?class methods run() and start() do?

993


Is array a class?

889


What is += mean in java?

962


Why singleton pattern is better than creating singleton class with static instance?

967


Explain differences between collection api and stream api?

1102


How can you make sure that your singleton class will always return single instance in multi-threaded environment?

974


Is null a value?

985


What is yield () in java?

839


Is array size fixed in java?

929