8._pass_parameters_on_the_command_line
The Java training online
8. Pass parameters on the command line
Purpose: check and interpret the user parameters on the command line
Statement of the exercise:
- in the
main()
method of exercise 1, now expect 4 parameters, a number of trees, a xSize, a ySize and a file name - manage the possible errors during their interpretation
- use them to create the tree list and write it to the file
8._pass_parameters_on_the_command_line.txt ยท Last modified: 2021/12/13 09:28 by 127.0.0.1