Analyze the following code.
import java.util.*;
public class Test {
public static void main(String[] args) throws Exception {
| TreeSet set = new TreeSet(); |
| SortedSet temp = set.tailSet("Purple"); |
| System.out.println(temp.first()); |
}
}
◦ The program displays Red
◦ The program displays Purple
◦ The program displays Green
◦ The program displays Blue
◦ The program displays Yellow