Full package path or import statements, which is better?

wxdqz

New Member
I am a newbie to Java and I recently downloaded Java SDK 1.3 along with theForte IDE. I noticed the auto generated code did not use import statements,opting to use the full package path (correct discription?).For example :private void exitForm(java.awt.event.WindowEvent evt){}Instead of:import java.awt.event.*;...private void exitForm(WindowEvent evt){}My question is is one style better than the other? Are there any advantageto either style? I assume since the whole package is not being used theprogram will be smaller. Is this correct? Thanks in advance.
 
Back
Top