Prasad prap wrote:Do have a look at this Stackoverflow
Yes, excellent post and good answers. Especially this:
Chris Cudmore wrote:
Take a look at the java API, and you'll see many classes and interfaces with the same name in different packages.
For example:
java.lang.reflect.Array
java.sql.Array
So, if you import java.lang.reflect.* and java.sql.* you'll have a collision on the Array type, and have to fully qualify them in your code.
Importing specific classes instead will save you this hassle.
Thanks for that link prasad.