单项选择题

针对Set s接口,下列哪项是正确的?() 

A. s.add(2)
B. s.add(new Integer(2))
C. s.add(“2”)
D. s.add(new java.util.Date())