Write a complete main method that does the following: Takes anynumber, but at least two, command line arguments which are words(represented as strings) and will print to the console the numberof words of that end with a digit. (Hint: loop through the argsarray)
If there are not at least two command line arguments, throw anIllegalArgumentException with an appropriate message.