Assume we are using the Box class described in this module. Which line would cause an error and when would the error occur?

public Box<String> b = new Box<String>("");
b.setValue(42);
The call to setValue() would cause an error at compile time.
  • The call to setValue() would cause an error at runtime.
  • The creation of the Box would cause an error at compile time.
  • The creation of the Box would cause an error at runtime.

There are no hints for this question