concatenate successive elements from one array to another
<pre><code>public class Application {
    public static void main(String[] args){
    String[] list= {"hi","by","li","fi","ti","qi","pi","ki"};
    String[] myArray=new String[list.length/2];
        for(int k=0; k&lt;list.length/2; k=k+2){
        myArray[k]=list[k]+ list[k+1]; 
    }
    System.out.println(myArray);
    }
}
</code></pre>

<p>I need have myArray filled with each subsequent element in list, but i cant figure out what to write after myArray[k]</p>
