can a program use more than one command-line argument?
Answer / Mamata Kumari
Yes, a Java program can accept multiple command-line arguments. You can access these arguments using the `args` array that is passed to the `main` method.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is java flatmap?
Why doesn’t the main method throw an error with no arguments?
What is native class in java?
What is the meaning of the words public, static and void?
Is openjdk the same as jdk?
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. Define how can I implement this logic?
How can the static main method use instance variables?
Explain working of java virtual machine (jvm)?
Is java an api?
When a thread is created and started, what is its initial state?
What about 'hostile applets'? : java security
Why serialization is used in java?