And the four code fragments:
s1. SortedSet sorted = s.tailSet(s.first());
s2. SortedSet<
String> sorted = s.tailSet(s.first());
s3. SortedSet sorted = (SortedSet)s.tailSet(s.first());
s4. SortedSet sorted = (SortedSet<String>

s.tailSet(s.first());
Which, inserted independently at line 7, will compile?
only s1
only s2
only s2 and s3
only s2 and s4
only s2, s3, and s4
only s1, s2, s3, and s4