Write down a Java application which enables a user to enter 10 numbers (double precision) into an array and then sorts and shows the numbers from lowest to highest. You must utilize the Arrays.sort() method. Evaluate your code compiles and runs without any issue