1) Write down the program Average.java which just prints the strings that it is provided at the command line, one per line. If nothing is given at the command line, print “No arguments”.
2) Change your program so that it suppose the arguments provided at the command line are integers. If there exist no arguments, print down the message. If there is at least one argument, determine and print the average of the arguments. Note that you will require utilizing the parseInt method of the Integer class in order to extract the integer values from strings which are passed in. If any non-integer values are passed in, your program will generate an error that is unavoidable at this point.