Valid PDII Dumps shared by ExamDiscuss.com for Helping Passing PDII Exam! ExamDiscuss.com now offer the newest PDII exam dumps, the ExamDiscuss.com PDII exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com PDII dumps with Test Engine here:
Line 1 public class AttributeTypes Line 2 { Line 3 private final String[] arrayItems; Line 4 Line 5 @AuraEnabled Line 6 public List<String> getStringArray() { Line 7 Strings+ arrayItems = new String*+, 'red', 'green', 'blue' -; Line 8 return arrayItems; Line 9 } Line 10 } Consider the Apex controller above that is called from a Lightning Aura Component. What is wrong with it?
Correct Answer: C
Recent Comments (The most recent comments are at the top.)
hollowen - Jul 21, 2023
//the code is public class AttributeTypes { private final String[] arrayItems; @AuraEnabled public List<String> getStringArray() { Strings+ arrayItems = new String*+, 'red', 'green', 'blue' -; return arrayItems; } }
Recent Comments (The most recent comments are at the top.)
//the code is
public class AttributeTypes {
private final String[] arrayItems;
@AuraEnabled
public List<String> getStringArray() {
Strings+ arrayItems = new String*+, 'red', 'green', 'blue' -;
return arrayItems;
}
}