Which is the function used to retrieve a value?

Which is the function used to retrieve a value?
A. get()
B. retrieve()
C. getItem()
D. retrieveItem()
 
Answer: c
Explanation: 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.
 

Tìm kiếm

Back
Top