Get Started with Apex || Apex Basics & Database

preview_player
Показать описание
( Code in comments and github )

Enjoy the video with wonderful music....

Code in Github :
Рекомендации по теме
Комментарии
Автор

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;
}
}




CLICK ctrl+E



StringArrayTest. generateStringArray(5)

WonderStudies
Автор

public class StringListTest {
public static List<String> generateStringList(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;
}
}

BNenishkanth
Автор

it is showing an error in this way(Executing the 'generateStringArray' method failed. Either the method does not exist, is not static, or does not return the proper number of strings.--what to do sir

rkfuns
Автор

I could not figure this out even I followed your steps, can you help me?

SeanRahimi-fifx
Автор

Bhai mere me StringArrayTest not legal name bta rha

AnuragSingh-luon
Автор

Hey I need help on this one, I wasn't successful, can you help?

SeanRahimi-fifx
welcome to shbcf.ru