True or False: to declare a Set of Strings you would write:
Set<String> names = new Set<String>();
No, the object on the right side of the equals needs to be an object that implements the Set interface.
- Yes, this code would work as is.
- No, the object on the left side of the equals needs to be an object that implements the Set interface.
- No, the objects on both sides of the equals side need to be objects that implements the Set interface.
There are no hints for this question.