What are command line arguments?
Answers were Sorted based on User's Feedback
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 |
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 |
Why main() method is public, static and void in java ?
What is a flag value?
What are the two types of java?
can any body body expalin best definitions & best real time exaples for opps concepts.
What is meant by class loader? How many types are there?
Can I import same package/class twice?
Explain the meaning of java applet.
In how many ways we can do synchronization in java?
Outline the major features of java.
What is thin driver and thick driver. why it is called so?
What is Distributed Application and what is its usage?
Why does my function print none?