Hi,

As far as I am conecerned , the differnce will come only in case of .java file.

When you say import java.swing.*; it will take more bytes than java.swing.JComboBox.

But once it is compiled , there is no difference btwn two class files.

Both the cases the class files will occupy same amount of memory,as the class loader will

automatically import only concerned classes, based on inside declaration.

Regards,

Ramarao. 

>From: siva prasad <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>CC: [EMAIL PROTECTED]
>Subject: Re: Deploy Tool
>Date: Sun, 1 Jul 2001 10:59:54 -0700 (PDT)
>
>Hello Gautam,
> I have one basic doubt on "import"
>statement.like
>
>is there any difference in any way between these two
>statements
>
>1)import java.swing.*;
>
>2)import java.swing.JComboBox;
>
>what i knew about this is :-
> in the first case when we compiling the class loader
>has to import all the classes in the swing package.
>
>but in the second case it imports only "JComboBox"
>class only.
>
>is it correct? or not?
>
>pls' explain about this doubt..
>
>thanks in advance.
>
>regards
>siva.
>
>__________________________________________________
>Do You Yahoo!?
>Get personalized email addresses from Yahoo! Mail
>http://personal.mail.yahoo.com/


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Reply via email to