4 ms·
Doesn't Java have any kind of type inference for variables yet? C# allows you to say var foo = new Dictionary<string, int>(); and foo's type is infered as D
by IDisposableHero 15y ago
Doesn't Java have any kind of type inference for variables yet?
C# allows you to say
var foo = new Dictionary<string, int>();
and foo's type is infered as Dictionary<string, int>