We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14b8256 commit 21b5b6bCopy full SHA for 21b5b6b
src/main/java/com/guide/c5/CLDemo.java
@@ -0,0 +1,12 @@
1
+package com.guide.c5;
2
+
3
+// Display all command-line information.
4
+public class CLDemo {
5
+ public static void main(String[] args) {
6
+ System.out.println("There are " + args.length + " command-line arguments.");
7
8
+ System.out.println("They are: ");
9
+ for (int i = 0; i < args.length; i++)
10
+ System.out.println("arg[" + i + "]: " + args[i]);
11
+ }
12
+}
0 commit comments