HashSet中判断是否包含指定元素的方法是?

HashSet中判断是否包含指定元素的方法是?

A.contains

B.remove

C.add

D.clear

正确答案是A