I dont agree with C. Because it is enough to query Id, since anyways the collection is a list of Sobjects. SO as long as we are querying the ID, it is enough to update any field in the record. So I don't believe this code will run into an error. SO for me the answer is A
None of the answers are correct. Two interesting things: 1) you CAN update fields without querying in SOQL, but you can`t get the values from them without querying. 2) This snippet makes another error: System.LimitException: Too many SOQL queries: 101
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
rajivjm
4 months, 1 week agoSS1121
9 months, 2 weeks agoJPV85
1 year, 3 months agoSanjeevOnForce
1 year, 5 months agoirina_735
1 year, 6 months agoirina_735
1 year, 6 months agoirina_735
1 year, 6 months agoBrucePark
1 year, 8 months agoBrucePark
1 year, 8 months agowlthorn
2 years ago