Given:
Map<ID, Account> accountMap = new Map>ID, Account> ([SELECT Id, Name FROM Account]); What are three valid Apex loop structures for iterating through items in the collection? (Choose three.)
- for (ID accountID : accountMap.keySet()) {...}
- for (Account accountRecord : accountMap.values()) {...}
- for (Integer i=0; I < accountMap.size(); i++) {...}
- for (ID accountID : accountMap) {...}
- for (Account accountRecord : accountMap.keySet()) {...}
Reveal Solution Next Question