Line: 1, Column: 36 Unexpected token '('
please help me in this the code is given below
public class StringArrayTest {
public static List<String> generateStringArray(Integer N){
List<String> TestList = new List<String>();
for(Integer i=0;i<N;i++){
TestList.add('Test '+ i);
system.debug(TestList[i]);
}
return TestList;
}
}
Comments
Post a Comment