I have a String as shown below
String result = ["A","B","C","D","E","F"]
List list = new ArrayList();
list.add("One");
list.add("One2");
list.add("One3");
I have an ArrayList , and i want to add the String result , so that it should look like
["A","B","C","D","E","F","One","One2","One3"]
I have tried this way
String result = ["A","B","C","D","E","F"]
for(int i=0;i<list.size();i++)
{
result = result+"list.get(i)"
}
could anybody please help .