Assistance with Java Methods
<p>I am confused as to where to use the following methods: </p>

<pre><code>initialize(alpha);
print(alpha);
</code></pre>

<p>I did the below program and I'm getting the info I want, but I have no clue how to use these methods to change the code but get the same output. Perhaps I'm looking too much into it? Any help will be appreciated.</p>

<pre><code>import java.util.*;

public class ProgEx_Ch9_No1{

static Scanner console = new Scanner(System.in);    

public static void main(String[] args){

    double[] alpha = new double[50];

    for(int i=0; i&lt;alpha.length; i++){

        alpha[i] = Math.pow(1,2);
        System.out.println("Alpha[" + i + "]: " + alpha[i]);

        if(i &lt; 25){
            alpha[i] = Math.pow(1,2);
            System.out.println("Alpha[" + i + "]: " + alpha[i]);
        }
        else{
            alpha[i] = i*3;
            System.out.println("Alpha[" + i + "]: " + alpha[i]);
        }
    }

    for(int i=0; i&lt;alpha.length; i++){
        System.out.print(alpha[i] + " ");
        if ((i + 1)%10 == 0)
            System.out.println();

}

}
}
</code></pre>
