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
explain different ways of using thread? : Java thread
What is the difference between equals() and == in java?
Differentiate between static and non-static methods in java.
What is a classloader in java?
What is a constructor overloading in java?
What is java string pool?
What is the difference between break and continue statements?
What are the differences between heap and stack memory in java?
Explain public static void main(string args[]) in java.
What is an object in java and how is it created?
How to create a base64 decoder in java8?
Realized?
Write a program to find the whether a number is an Armstrong number or not?
Is minecraft 1.15 out?
How to sort array in descending order in java?