Article View: borland.public.jbuilder.java.api
Article #2819global object
From: Christian Nateghi
Date: Mon, 17 Jan 2000 00:00
Date: Mon, 17 Jan 2000 00:00
15 lines
1123 bytes
1123 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:
<85tsra$2j9$1@news7.svr.pol.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,dec3d604704a60cf,start X-Google-Attributes: gid1089d0,public From: "Christian Nateghi" <Chris@nateghi.freeserve.co.uk> Subject: global object Date: 2000/01/17 Message-ID: <85tsra$2j9$1@news7.svr.pol.co.uk> X-Deja-AN: 573572040 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 948074154 2665 62.137.36.193 (17 Jan 2000 01:55:54 GMT) Organization: Customer of Planet Online X-MSMail-Priority: Normal NNTP-Posting-Date: 17 Jan 2000 01:55:54 GMT Newsgroups: borland.public.jbuilder.java.api