3 ms·
> List<String> foo = new ArrayList<String>() List<String> foo = new ArrayList<>() > so why should the programmer have to write it twice? You wouldn't.
by ionised 9y ago
> List<String> foo = new ArrayList<String>()
List<String> foo = new ArrayList<>()
> so why should the programmer have to write it twice?
You wouldn't.