Câu 21: Salesforce Certified Platform Developer I
A developer created a Lightning component to display a short text summary for an object and wants to use it with multiple Apex classes. How should the developer design the Apex classes?
Nội dung câu hỏi
A developer created a Lightning component to display a short text summary for an object and wants to use it with multiple Apex classes. How should the developer design the Apex classes?
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.
- A. Have each class define method getObject() that returns the sObject that is controlled by the Apex class.
- B. Extend each class from the same base class that has a method getTextSummary() that returns the summary.
- C. Have each class implement an interface that defines method getTextSummary() that returns the summary. — đáp án hiện tại
- D. Have each class define method getTextSummary() that returns the summary.
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.