Answer to Question #307097 in Java | JSP | JSF for Manya

Question #307097

Command line argument in java programming

1
Expert's answer
2022-03-07T07:10:47-0500

A command line argument is information that is given on the command line of its specific name during program startup. The available command line arguments inside a Java program are straightforward — they are present as strings in the String array passed to the main() method.


For example:

public class Main {
    public static void main(String[] args) {
        
    }
}


Where "args" is the String array.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS