February 2014
Beginner
1248 pages
62h 25m
English
• Passing arguments to main (p. 283) from the command line is achieved by including a parameter of type String[] in the parameter list of main. By convention, main’s parameter is named args.
• Java passes command-line arguments that appear after the class name in the java command to the application’s main method as Strings in the array args.
Read now
Unlock full access