4 ms·
> because you can stick a Double in one of them and blow up everyone expecting only whole numbers. Generics in Java are invariant, so what you're describing w
by apta 7y ago
> because you can stick a Double in one of them and blow up everyone expecting only whole numbers.
Generics in Java are invariant, so what you're describing will not work.