I think I am missing something fundamental here. I have the understanding that when you have an import statement like: import something.somethingElse.*; that imports all classes in the somethingElse package. But sometimes I get an error unless I explicitly say import something.somethingElse.MyClass; Can someone tell my why I sometimes have to explicitly list the class and othertimes package.* works? Thanks in advance!
Also there are cases where more than one class that you are importing contains a class with the same name. Import java.util.*; Import java.sql.*; Now when you want to use the Date class, you have to explicitly name which Date that you want to use.
"JavaRanch, where the deer and the Certified play" - David O'Meara