No, there is nothing like that in Java. You can only import classes under their original name, and have to use the fully qualified name for all that you don’t import (except those in java.lang and the current class’s package).
No, there is nothing like that in Java. You can only import classes under their original name, and have to use the fully qualified name for all that you don’t import (except those in java.lang and the current class’s package).