Why are static imports of static methods with same names legal?
The ambiguity of the static imports of methods could be resolved at the point of the method invocation. For example if you had a static import for two methods that look like this: void frobnicate(int i); // and void frobnicate(boolean b); Then you could import and use both, because the compiler could tell which one … Read more