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 basic data types?
What is the difference between ArrayList and Vector? which one is better in Java
How does thread synchronization occurs inside a monitor?
What is the largest long allowed by java?
State differences between C and Java?
What is factor r?
Can the interface be final?
What is 16 bits called?
What is the main purpose of serialization in java?
Why do we use threads in java?
Why are functions called methods in java?
What is type safety in java?
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
What is the final field modifier?
What is boolean keyword in java?