🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2662

problem with import statement

#2662
From: Parameswara Arrepu
Date: Thu, 27 Jul 2000 00:00
16 lines
1361 bytes
Hi,

I am a beginner in java and landing into troubles when I code a statement to
import "java.util.*",  but when I import a particular class like
"java.util.Vector", I could able to compile programs successfully.  Similary
I am encountering same problem of unresolved references in compilations when
I import classes from my directory called "mypackages".  In the later case I
am not able to get a thru if I code "import mypackages.*"  but could able to
succeed if I explicitly coding "import mypackages.ex1" (ex1.class is there
in dir mypackages).

Can anyone help on this issue. Thanks in advance.

Regards,
Paramesh.
(paramesh@att.net)
Technical Details
Message-ID: <GxNf5.10063$RG6.848235@bgtnsc05-news.ops.worldnet.att.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,110bb26df7c1dd8f,start
X-Google-Attributes: gid1089d0,public
From: "Parameswara Arrepu" <paramesh@worldnet.att.net>
Subject: problem with import statement
Date: 2000/07/27
Message-ID: <GxNf5.10063$RG6.848235@bgtnsc05-news.ops.worldnet.att.net>
X-Deja-AN: 651243246
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc05-news.ops.worldnet.att.net 964666598 12.76.102.185 (Thu, 27 Jul 2000 02:56:38 GMT)
Organization: AT&T Worldnet
X-MSMail-Priority: Normal
NNTP-Posting-Date: Thu, 27 Jul 2000 02:56:38 GMT
Newsgroups: borland.public.jbuilder.java.api