Explain briefly the operation of each of the following methods of class HashMap:
a) put
b) get
c) isEmpty
d) containsKey
e) keySet
a) Adds a key/value pair into the HashMap.
b) Locates the value associated with the specified key.
c) Returns a boolean value indicating whether or not the HashMap is empty.
d) Determines whether specified key is in the HashMap.
e) Returns a Set of the keys in the HashMap.
Computer Science & Information Technology
You might also like to view...
The ________ option formats even columns differently than odd columns
A) Table Style B) Banded Rows C) Banded Columns D) Header Row
Computer Science & Information Technology
$C$8 is an example of a(n) ________ cell reference
Fill in the blank(s) with correct word
Computer Science & Information Technology