Studying Java, I've thought about a, to me, rather confusing property of many tutorials. Consider the following two imports from a sample tutorial:
import java.awt.*;
import java.awt.event.*;
The first line obviously imports the java.awt package, and the second one awt's subpackage. But shouldn't the asterix include all sub-packages? Hence, line one should do the trick - line two shouldn't be needed? If it doesn't: then what's the true purpose/usage of the asterix?
For example, using SELECT * FROM foo
in MySQL selects ALL fields from a table, perhaps I'm stupid to assume that this naturally is t he case.