+ 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));
        return strResult;

Can someone please help me with this
Harish RamachandruniHarish Ramachandruni

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

Harish R.