Write a Java Application that takes a number from the command line, assigns it to a variable, and calculates the factorial value using a for loop. The ouptut should display the correct mathematical equality,

Use the args[] array of the "main" method and the System.out method as demonstrated in class.