[Solved] How to get every String from an ArrayList [closed]


Use this code for your problem:

in the other method

public String convertToString(ArrayList<String> al)
{
String str ="" ;
for(int i=0; i<al.size;i++){str+=al.get(i)+" ";}
return str;
}

If i understand your query correctly then this is the solution

0

solved How to get every String from an ArrayList [closed]