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
What are the fileinputstream and fileoutputstream?
What is the difference between super class & sub class?
Does apple use java?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
When should a function throw an exception?
Which list is sorted in java?
What does void * mean?
Are arrays static in java?
How do you convert an int to a double in java?
What method is used to specify a container's layout in java programming?
What is volatile keyword in java
What does the “static” keyword mean?
What is strings in java?
Why put method is idempotent?
What is string in java is it a data type?