The followings are what I see just now.....
//******************************************
Ambiguities
Wildcard imports have one problem though: they can lead to ambiguities when classes with the same name exist in two packages you import via wildcard.
Imagine the following two imports:
import foo.*;
import bar.*;
Now you want to use the class foo.Node but there is also a class bar.Node. Now you need to use non-wildcard imports to resolve the ambiguity that would happen otherwise.
//*******************************************
But I can't understand it can bring problems. I think it is ok.
Thank you.
//******************************************
Ambiguities
Wildcard imports have one problem though: they can lead to ambiguities when classes with the same name exist in two packages you import via wildcard.
Imagine the following two imports:
import foo.*;
import bar.*;
Now you want to use the class foo.Node but there is also a class bar.Node. Now you need to use non-wildcard imports to resolve the ambiguity that would happen otherwise.
//*******************************************
But I can't understand it can bring problems. I think it is ok.
Thank you.