🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

global object

#2820
From: Christian Nateghi
Date: Mon, 17 Jan 2000 00:00
15 lines
1117 bytes
I cannot access an object instance, which is created in another file.

for example, I have two .java files with the following lines included in
their code:

file1.java               #include "file2.java"
                            ....
                            String globalstring=new(String);
                            ...

file2.jav            ....

What must I do to be able to access the globalstring object in file2.jav ?

Christian Nateghi
Technical Details
Message-ID: <85tsrb$2j9$3@news7.svr.pol.co.uk>
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,dec3d604704a60cf
X-Google-Attributes: gid1089d0,public
From: "Christian Nateghi" <Chris@nateghi.freeserve.co.uk>
Subject: global object
Date: 2000/01/17
Message-ID: <85tsrb$2j9$3@news7.svr.pol.co.uk>
X-Deja-AN: 573572041
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@theplanet.net
X-Trace: news7.svr.pol.co.uk 948074155 2665 62.137.36.193 (17 Jan 2000 01:55:55 GMT)
Organization: Customer of Planet Online
X-MSMail-Priority: Normal
NNTP-Posting-Date: 17 Jan 2000 01:55:55 GMT
Newsgroups: borland.public.jbuilder.java.api