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 |
What is main function purpose?
Can a function return a function?
What is the symbol for line break?
What is the use of runnable interface?
What is the use of default method in interface in java? Explain
When a byte datatype is used?
what questions are been asked ??? for interview in apti
What do you mean by ternary operator in java?
List out benefits of object oriented programming language?
explain the clone method and clonable interface
Explain methods specific to list interface?
What is a blocking method in Java?