[4255] in java-interest

home help back first fref pref prev next nref lref last post

import statement

daemon@ATHENA.MIT.EDU (Edith Au)
Thu Dec 14 14:58:53 1995

To: java-interest@java.sun.com
Date: Wed, 13 Dec 1995 14:04:01 -0500 (EST)
From: Edith Au <edith@pencom.com>

Hi,

	The Java Language Specification (p.36) states that you can import
a package name (ie import java.io).  I tried but it doesn't work.  

	Let say if it works, is this feature necessary?
import jav.io.*; is essentially doing the same job.  

	In both cases (java.io and java.io.*), the needed class name, say 
DataInputStream, won't be loaded to the compilation unit's name space
until the class is referenced.  Am I right?

Cheers,
Edith
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post