Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 323 Bytes

command_line_arguments.md

File metadata and controls

16 lines (11 loc) · 323 Bytes

Command Line Arguments

When you run a program like so

java src/Main.java

Anything you put to the right of src/Main.java will be available to your program as a "command line argument."1

java src/Main.java example

Footnotes

  1. They come from the command line and they are arguments to your program.