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?

Answers were Sorted based on User's Feedback



What are command line arguments?..

Answer / neema

the value which are passed from command line to java
programs main method are called as command line arguements.

Is This Answer Correct ?    6 Yes 0 No

What are command line arguments?..

Answer / ravikiran(aptech mumbai)

command line arguments are the one's which will pass threw
the command prompt

Is This Answer Correct ?    3 Yes 0 No

What are command line arguments?..

Answer / 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

What are command line arguments?..

Answer / nashiinformaticssolutions

Command-line arguments are inputs passed to the program at runtime via argc and argv in the main function.

Is This Answer Correct ?    0 Yes 0 No

What are command line arguments?..

Answer / hr@tgksolutions.com

Command-line arguments are inputs passed to the program at runtime via argc and argv in the main function.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.

1 Answers   Fidelity,


What are different types of encoding?

1 Answers  


What collections you have worked on? Internal working of Hashmap?

1 Answers   Bravura Solutions,


What is difference between add() and addelement() in vector?

1 Answers  


What modifiers can be used with a local inner class?

2 Answers  


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

1 Answers  


What is an example of declaration?

1 Answers  


Why there are some null interface in java? What does it mean?

1 Answers  


Can we override the static methods?

1 Answers  


How to find the largest value from the given array.

1 Answers  


What java is used for?

1 Answers  


Write program to print Hello World and print each character address in that string and print how many times each character is in that string? Ex: H: 0 & 1 e:1 & 1 l :2,3,8 & 3 o:4,6 & 2 w:5 & 1 r: 7 & 1 d 9 & 1

7 Answers   Huawei, IBM,


Categories