What is the result of running this Apex?

An org has a single account named ‘NoContacts’ that has no related contacts.

Given the query: List<Account> accounts = [Select ID, (Select ID, Name from Contacts) from Account where Name=‘NoContacts’];

What is the result of running this Apex?
A . accounts[0].contacts is invalid Apex.
B . accounts[0].contacts is an empty Apex.
C . accounts[0].contacts is Null.
D . A QueryException is thrown.

Answer: B

Latest DEX-450 Dumps Valid Version with 456 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments