Write a Java application that prints the following table using the sqrt ( ) method in the Math class. Use a for loop to produce the output results. Compile and run your program until it works and the output looks nice. 

Number    SquareRoot 
0              0.0000 
2              1.4142 
4              2.0000 
6              2.4495 
8              2.8284 
10            3.1623 
12            3.4641 
14            3.7417 
16            4.0000 
18            4.2426 
20            4.4721