I need to concatenate the elements of a 3-by-3 vector.
Here's the sample I need:
package ex;
public class prog {
public static void main(String[] args) {
// TODO Auto-generated method stub
String[] vetor = {"aaa", "aaa", "aaa", "bbb", "bbb", "bbb", "ccc", "ccc", "ccc", "ddd", "ddd", "ddd"};
String[] novo_vetor; // vetor que terá as strings "aaaaaaaaa", "bbbbbbbbb", "ccccccccc", "ddddddddd");
}
}