Câu 23: Salesforce Certified Platform Developer I
An org has a single account named `˜NoContacts' that has no related contacts. Given the query:List accounts = [Select ID, (Select ID, Name from Contacts) from Account where Name=`˜NoContacts'];What is the result of running this Apex?
Nội dung câu hỏi
An org has a single account named `˜NoContacts' that has no related contacts. Given the query:List accounts = [Select ID, (Select ID, Name from Contacts) from Account where Name=`˜NoContacts'];What is the result of running this Apex?
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. accounts[0].contacts is invalid Apex.
- B. accounts[0].contacts is an empty Apex. — đáp án hiện tại
- C. accounts[0].contacts is Null.
- D. A QueryException is thrown.
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.