🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

class = null ?!

#17255
From: Vladimir Olenin
Date: Sun, 22 Nov 1998 00:00
41 lines
1985 bytes
This is a multi-part message in MIME format.
--------------CDC318601D13F4829C2D97D2
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit

Recently i ran into an interesting problem. The deal is that i have a
method in class B that returns a class, let call it Data, consisting of
fields only (that is struct in C language). And when i call this method
from class A, the fields of Data class are filled with appropriate
information, but a pointer to it equals null. That is
    Data d = B.getData();  // d == null, though d.field1 != null,
d.field2 != null, etc

Is that normal or what? Thanks beforehand,

                                    Vladimir

-- 
>~~~~~~~~<=============>~~~~~~~~<
Be yourself no matter what they say...
Join in Java community now!
http://www.geocities.com/SiliconValley/Heights/9815
>~~~~~~~~<=============>~~~~~~~~<
--------------CDC318601D13F4829C2D97D2
Content-Type: text/x-vcard; charset=koi8-r;
 name="keenonjava.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Vladimir Olenin
Content-Disposition: attachment;
 filename="keenonjava.vcf"

begin:vcard 
n:Vladimir;Olenin
x-mozilla-html:FALSE
adr:version:2.1;;;;;;
version:2.1
email;internet:keenonjava@collegemail.com
note:Java programmer. Open for project development offers. See my home page at: http://www.geocities.com/SiliconValley/Heights/9815/
end:vcard

--------------CDC318601D13F4829C2D97D2--
Technical Details
Message-ID: <36586170.A4A677D4@collegemail.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,6cc14c4eb4d410f7,start
X-Google-Attributes: gidf74b3,public
From: Vladimir Olenin <keenonjava@collegemail.com>
Subject: class = null ?!
Date: 1998/11/22
Message-ID: <36586170.A4A677D4@collegemail.com>
X-Deja-AN: 414585453
X-Accept-Language: en,ru
Content-Type: multipart/mixed; boundary="------------CDC318601D13F4829C2D97D2"
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language