HashMap中的put()方法参数是()
A: put(value,key)
B: put(key,key)
C: put(key,value)
D: put(key,key)
A: put(value,key)
B: put(key,key)
C: put(key,value)
D: put(key,key)
举一反三
- put(Object key, Object value)和get(Object key)方法分别用于向Map中存入元素和取出元素。
- The key password must be ________ the key store password. A: put to B: set to C: held to D: got to
- I remember _______ the key in the box under the bed, but it’s not there! A: putting B: to put C: put D: being put
- Where could she ________ the key? I couldn't find anywhere. A: put B: have put C: has put D: had put
- Where could my son ______the key I couldn't find anywhere. A: put B: have put C: has put D: had put