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

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept