QuestionQ66
Working with Selected Classes from the Java APIGiven the following code fragment:

What is the outcome?
- A Compilation fails.
- B Hi removed
- C An UnsupportedOperationException is thrown at runtime.
- D The program compiles, but it prints nothing.
Community Discussion