2 ms·
So given int something() { } String something() { } A hypothetical calling syntax could be (int)something(); Or the compiler could even choose one for
by guelo 10y ago
So given
int something() { }
String something() { }
A hypothetical calling syntax could be
(int)something();
Or the compiler could even choose one for you with a warning. Seems like a good suggestion for Java 10.