• Jassi gill
  • NEWBIE
  • 10 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies

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