You'll need to sign into your MSOE account VidGrid to see the videos.
In this module, you will review command line arguments.
- What does the array passed to
- How do you set command line arguments to be sent to
main()when running in IntelliJ?
- How do you open a terminal in a specific directory?
- How do you run a Java program from the terminal?
- Watch [3:04] [link]
Write a program that expects a unknown number of integer command line arguments and displays how many of them are odd. The program can crash if something other than an integer value is entered for a command line argument.
Run the program from the terminal with at least four command line parameters and upload a screenshot showing the the code and the terminal window to Canvas.