Difference between revisions of "Command line arguments"
From MyWiki
(Created page with "http://courses.cms.caltech.edu/cs11/material/java/donnie/java-main.html<br>") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | ||
+ | |||
+ | <source lang="java"> | ||
+ | args.length = 3 | ||
+ | args[0] = "1234" | ||
+ | args[1] = "www.caltech.edu" | ||
+ | args[2] = "olive festival" | ||
+ | </source> |
Latest revision as of 13:16, 3 March 2015
args.length = 3 args[0] = "1234" args[1] = "www.caltech.edu" args[2] = "olive festival"