Salesforce
PDII · Question #316
Given the following code: Assuming there were 10 Contacts and five Accounts created today, what is the expected result?
The correct answer is A. System.QuervException: List has more than one row for Assignment on Account. See the full explanation below for the reasoning.
Question
Given the following code:
Assuming there were 10 Contacts and five Accounts created today, what is the expected result?
Exhibit
Options
- ASystem.QuervException: List has more than one row for Assignment on Account
- BSystem.LimitException: Too many SOQL Queries on Contact
- CSystem.QueryException: Too many DML Statement errors on Contact
- DSystem.LimitException: Too many SOQL Queries on Account
How the community answered
(26 responses)- A85% (22)
- C4% (1)
- D12% (3)
Community Discussion
No community discussion yet for this question.
