🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: global object

#2824
From: Maddog
Date: Fri, 28 Jan 2000 00:00
21 lines
1421 bytes
?? Are you programming in C or Java?  What is the #include?

"Christian Nateghi" <Chris@nateghi.freeserve.co.uk> wrote in message
news:85tsra$2j9$1@news7.svr.pol.co.uk...
> 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: <E0kk4.61570$Dv1.1520834@news2.rdc1.on.home.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <85tsra$2j9$1@news7.svr.pol.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,dec3d604704a60cf
X-Google-Attributes: gid1089d0,public
From: "Maddog" <mskullcap@yahoo.com.NOSPAM>
Subject: Re: global object
Date: 2000/01/28
Message-ID: <E0kk4.61570$Dv1.1520834@news2.rdc1.on.home.com>
X-Deja-AN: 578820669
References: <85tsra$2j9$1@news7.svr.pol.co.uk>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Complaints-To: abuse@home.net
X-Trace: news2.rdc1.on.home.com 949079204 24.114.13.26 (Fri, 28 Jan 2000 09:06:44 PST)
Organization: @Home Network Canada
X-MSMail-Priority: Normal
Reply-To: "Maddog" <mskullcap@yahoo.com.NOSPAM>
NNTP-Posting-Date: Fri, 28 Jan 2000 09:06:44 PST
Newsgroups: borland.public.jbuilder.java.api