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 is the difference between the methods sleep() and wait()? : Java thread
What is implicit object in java?
Which collection does not allow duplicates in java?
What are predefined functions?
What is the difference between synchronized and synchronized block?
Can we use catch statement for checked exceptions?
What does replaceall do in java?
What is oop principle in java?
Is the empty set a singleton?
Why stringbuffer is faster than string?
Can final class have constructor?
How many threads does a core java have?
What defines function?
How do I compare two strings in word in java?
How to avoid memory leak in java?