CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 30: Certified Platform Developer

A Lightning component has a wired property, searchResults, that stores a list of Opportunities. Which definition of the Apex method, to which the searchResults property is wired, should be used?

Nội dung câu hỏi

A Lightning component has a wired property, searchResults, that stores a list of Opportunities. Which definition of the Apex method, to which the searchResults property is wired, should be used?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. @AuraEnabled (cacheable=true)public List search(String term) { /*implementation*/ }
  2. B. @AuraEnabled (cacheable=false)public List search(String term) { /*implementation*/ }
  3. C. @AuraEnabled(cacheable=true)public static List search(String term) { /*implementation*/ } — đáp án hiện tại
  4. D. @AuraEnabled(cacheable=false)public static List search(String term) { /*implementation*/ }

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề