-1
I need to concatenate the elements of a 3-in-3 vector.
Follow the sample of what 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");
}
}
Did the answer solve your question? Do you think you can accept it? See [tour] if you don’t know how you do it. This would help a lot to indicate that the solution was useful to you. You can also vote on any question or answer you find useful on the entire site.
– Maniero