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
How to pass arraylist to stored procedure in java?
Which class is the superclass of all classes?
What does opcode mean?
What is the different between get and post?
What is java dot?
Give example to differentiate between call by value and call by reference.
What do the thread?class methods run() and start() do?
Is array a class?
What is += mean in java?
Why singleton pattern is better than creating singleton class with static instance?
Explain differences between collection api and stream api?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
Is null a value?
What is yield () in java?
Is array size fixed in java?