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

Popular posts from this blog

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)