单项选择题

Map容器中获取键值对集合的方法是()。

A.entrySet()
B.keySet()
C.values()
D.get(key)