In the text box below, duplicate the given class and main()…
In the text box below, duplicate the given class and main() method headers, then replace , , and in the MilesToKilometers class with four Java program statements that implement this algorithm: Step 1: Declare a double variable named miles with an initial value of 1250. Step 2: Declare a double constant named KILOMETERS_PER_MILE with initial value 1.609. Step 3: Declare a double variable named kilometers, multiply miles and KILOMETERS_PER_MILE, and assign the result to kilometers. Step 4: Display the value of kilometers to the console. public class MilesToKilometers { public static void main(String }} Note: To receive full points on this exercise, I must be able to copy your Java statements from the text box, paste them into a NetBeans Java source code file with the file name MilesToKilometers.java, then compile and run your source code with no errors.