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

  • From: "George Bell" <george@xxxxxxxxxxxxxxxxxxx>
  • To: <program-java@xxxxxxxxxxxxx>
  • Date: Thu, 9 Oct 2008 15:47:22 +0100

Hi Jim,

Why did you ask me to start a Java discussion list, if you
are going to duplicate questions on program-l?

George.

-----Original Message-----
From: program-java-bounce@xxxxxxxxxxxxx
[mailto:program-java-bounce@xxxxxxxxxxxxx] On Behalf Of
Corbett, James
Sent: 08 October 2008 20:39
To: Program-L (E-mail); Program-J (E-mail)
Subject: [program-java] Java: Importing....

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: