Which of the following defines a method doubleEach that returns an array where each element is double the corresponding element in an input array? public double[] doubleEach(double[] input) {double[] temp = new double[input.length]; for (int i = 0; i Solution Answer is A public double[] dobleEach(double [] input) { double[] temp= new double[input.length]; for(int i=0;i.