What is a type

Report a typo

What type is chosen as parameter type T in the following code:

Box box = new Box();
box.set(10L);

Here, Box is a generic class:

class Box<T> {
    T value;

    void set(T value) {
        this.value = value;
    }
}
Select one option from the list
___

Create a free account to access the full topic