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 replaceall in java?
What is null statement?
What is a static method in java?
What are untrusted applets?
How does queue work in java?
What is difference between string and new string?
What is unicode used for?
Which is better stringbuffer or stringbuilder?
Can we call virtual funciton in a constructor ?
What is an abstract class and what is it’s purpose?
Using callable statement how can you pass out parameters, explain with example?
Is vector thread safe in java?
Explain where variables are created in memory?
What does int [] mean in java?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?