[program-java] Java: Importing....

  • From: "Corbett, James" <James.Corbett@xxxxxxxxxxxxx>
  • To: "Program-L (E-mail)" <Program-L@xxxxxxxxxxxxx>, "Program-J (E-mail)" <program-java@xxxxxxxxxxxxx>
  • Date: Wed, 8 Oct 2008 15:38:53 -0400

Hello all:

...a matter of semantics again. 

In a typical application one would usually import the libraries require eg.

import java.io.*;

import utils.UGarbageMan;

However I have seen code with in methods such as this

utils.UGarbageMan gMan = new utils.UGarbageMan();

...with out the actual import lines as above. Obviously there is a difference 
but what?

Jim 

James M. Corbett

GST Division (Micro Applications)
Acting CS3 IT Specialist / Acting Team Leader
(613) 941-1338

"I love deadlines. I like the whooshing sound they make as they fly by." 
Douglas Adams

"I'm Jim Corbett and I approve this message"

Other related posts: