Write a Java Application that takes a number from the command line, assigns it to a variable, and calculates the factorial value using a while 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.