import java.*;
Why cannot I do this importing ?? Instead of importing the all class in a particular sub-package of the package \'java\' , I tried t
Using a wildcard when importing classes may clutter your classes namespace so if you'll have a class named ClassA in more then one import (e.g. import com.example1.* and import com.example2.* where ClassA is defined in both and you need only the implementation in com.example1) you will have a conflict so only import what you really need to use.
Most IDEs allows you to easily organize your imports so only the classes that you really need to use will be imported