I’m confused by this example because there are no type parameters. What type is having variance with respect to what? Do there not need to be type parameters before we can speak of variance?
I’m confused by this example because there are no type parameters. What type is having variance with respect to what? Do there not need to be type parameters before we can speak of variance?