Which is the function used to retrieve a value?
A
get()
B
retrieve()
C
getItem()
D
retrieveItem()
Correct Answer: getItem()
To retrieve a value, pass the name to getItem(). The getItem() method of the Storage interface, when passed a key name, will return that key’s value, or null if the key does not exist, in the given Storage object.