3 answers
Hello Bob,
This is my first attempt at Apex code. My error is indicated on line 4, and the error text is ³Constructors cannot be static².
As the challenge indicates that the method must be static and I believe that
I have what is a return type, I am confused as to why I am receiving this
error.
Again, this is my first attempt, so the problem may be a very simple
³beginners² error. Thanks.
public class StringArrayTest {
// Public method
public static generateStringArray(Integer arrSize) {
List testNum = new List(arrSize);
for (Integer n=0;n