Hey, I have a small style question. Which import style is preferable (or better) to use. A single one like
or an import-on-demand like
? Is there any advantage or disadvantage for each declaration? Thank you.
They are the same... the JVM have it's built in code optimizer.... it removes unnecessary codes/excess codes....
But for me, it is nice to show the specific import.... so that, when i have a problem/ forgot how to implement like this, i can scan easily my previous programs/codes for review.....
for example, i forgot on how to use FileNameExtensionFilter...
so i could just view my previous codes who has an import with the FileNameExtensionFilter....
i have subreasons.... yet nonsense... :)
So, depends on you....
sukatoa