Câu 97: Salesforce Certified Platform Developer I
Given the following Apex statement:Account myAccount = [SELECT Id, Name FROM Account];What occurs when more than one Account is returned by the SOQL query?
Nội dung câu hỏi
Given the following Apex statement:Account myAccount = [SELECT Id, Name FROM Account];What occurs when more than one Account is returned by the SOQL query?
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. The variable, myAccount, is automatically cast to the List data type.
- B. The first Account returned is assigned to myAccount.
- C. The query fails and an error is written to the debug log.
- D. An unhandled exception is thrown and the code terminates. — đáp án hiện tại
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.