Hi Alex, it will not produce higher load to the system if you use the second method. Java calls it 'type import on demand'. The compiler will search for the class only if it is really needed. But there may be ambiguity if the same class name does exist in two different packages: the class 'Date' for example exists in java.util as in java.sql. In this case you should always use the full description as import java.util.Date;
hth, Rita --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
