Hacker News new | ask | show | jobs
by guelo 3377 days 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.