Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1 @@
|
|||
public static void main(String[] args)
|
||||
|
|
@ -0,0 +1 @@
|
|||
myprogram -c "alpha beta" -h "gamma"
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
public class Arguments {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("There are " + args.length + " arguments given.");
|
||||
for(int i = 0; i < args.length; i++)
|
||||
System.out.println("The argument #" + (i+1) + " is " + args[i] + " and is at index " + i);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue