Command-line arguments: Difference between revisions
→{{header|Java}}
m (→{{header|C++}}: Minor formatting changes) |
|||
Line 1,306:
=={{header|Java}}==
The arguments will be passed to <code>main</code> as the only parameter.<br />
<syntaxhighlight lang="java">
▲public static void main(String[] args) {
▲ /* 'args' is non-null */
</syntaxhighlight>
Running this command
|