function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Raj DharaRaj Dhara 

Hands-on Challenge in the module Apex Basics & Database - Get Started with Apex.

I submitted the following code which executed successfully, but on checking the challenge I keep getting the message that it is not complete:

public class StringArrayTest {
    public static List<String> generateStringArray(Integer numberOfItems){
        List<String> strResult = new List<String>();
        for(Integer i = 0;i < numberOfItems;i++) {
            strResult.add('Test '+ (i+1));
            System.debug(strResult[i]);
        }
        return strResult;
    }
}

Can someone please help me with this
Harish RamachandruniHarish Ramachandruni
Hi,

Did you written test class and can you share me link trail.and send me error .

Thanks,
Harish R.