🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17656

how to import

#17656
From: Ernest Schloesser
Date: Thu, 15 Oct 1998 00:00
16 lines
728 bytes
suppose I have two classes
One
Two
Both are defined in package myPack

I want to use class One in the file for class Two, so I wrote:

import myPack.One

did not work, I get an error:
cannot access class myPack.One; neither class nor source found for
myPack.One

What am I doing wrong ?

Ernest
Technical Details
Message-ID: <70511f$o2q3@forums.borland.com>
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: f74b3,a440b80d77bd91e3,start
X-Google-Attributes: gidf74b3,public
From: "Ernest Schloesser" <e.schloesser@bcl.de>
Subject: how to import
Date: 1998/10/15
Message-ID: <70511f$o2q3@forums.borland.com>
X-Deja-AN: 401361378
Organization: Beck GmbH
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Newsgroups: borland.public.jbuilder.java.language