Hello all,
After taking a seven month break from my
SCJD due to studies I have returned to complete it. Following this break I will start off with a nice (very) easy question!!
When importing files what is the correct convention i.e. is the package name followed by a star e.g. import java.util.* OR is it an absolute path e.g. import java.util.ArrayList? If you are importing one or two classes you would use the absolute and if using many use the star�is this the general consensus? The only reason I ask is that going through my code I have been inconsistent with this e.g. using * sometimes when just using one class and other times importing the absolute class.
Thanks in advance,
John