I don't believe it will create more work, and not a heavier program  
use the import package statement.

However, it's a good habit to import individual classes, as it creates  
less ambiguity and chance for conflicts with classes in other packages.

mark

On Jul 15, 2009, at 10:41 AM, Alex Fuentes wrote:

> Hi all,
>
> A very simple question:
>
> We can
> import java.io.BufferedReader;
> import java.io.InputStreamReader;
> import java.io.IOException;
> To indicate that we are going to use these three classes
>
>
> or
> mport java.io.*;
> To indicate that we are going to use the whole package
>
> It's more comfortable to use the last method, but, It will produce  
> more work for the system? It will make the program heavier than the  
> necessary?
>
>
> Best regards,
>
>
> Alex
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to