I have a problem with a Java question on my ECollege course: Here it is:

In the programs you have encountered so far you will have seen the main method used something like this: public static void main(String[] args)

The args part of the program can accept values (parameters) when the program is called (run). Write a Java program called ShowArgs using Using Notepad++ or another plain code editor. This java program should accept two command line arguments when you are running the program. It should then output these arguments.

Note: You will need to research outside of the course contents to complete this part of the assignment. Include comments to show that you understand fully what the program is doing

Compile and run this .java source code from a command line. Place the command line arguments as words after the program name when you are running it with spaces between them as in apples and oranges below.

javac ShowArgs.java
java ShowArgs apples oranges
apples oranges

Upload the ShowArgs.java source code that you used at the command line and a screenshot of the program being compiled and run from the command line. Any of the popular image formats will be accepted for the screenshot. Please keep the file name of the screen shot short.

How do I work it