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

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.

  1. A. accounts[0].contacts is invalid Apex.
  2. B. accounts[0].contacts is an empty Apex. — đáp án hiện tại
  3. C. accounts[0].contacts is Null.
  4. 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.

Câu hỏi liền kề