Given:
and
Which two method definitions at line n1 in the Bar class compile? (Choose two.)
public List foo(Set m) {...}
public List foo(TreeSet m) {...}
public ArrayList foo(Set m) {...}
Submit