🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to make a "constant" object

#14493
From: Tor Iver Wilhelmsen
Date: Fri, 27 Aug 1999 00:00
7 lines
783 bytes
Michael Drews <DrewsMA@pe-nelson.com> writes:

> I want to be able to declare some sort of "final" or "constant" object
> which does not allow its data to be modified. Is there any mechanism for
> this in Java, or some accepted method for accomplishing this task?

Well, you just used the word: "final". :-)
Technical Details
Message-ID: <uogfty3fd.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37C5BCCC.8F102F85@pe-nelson.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,99c34274d2b6c246
X-Google-Attributes: gidf74b3,public
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Subject: Re: How to make a "constant" object
Date: 1999/08/27
Message-ID: <uogfty3fd.fsf@sds.no>
X-Deja-AN: 517731801
Sender: towi@SDSA1761
References: <37C5BCCC.8F102F85@pe-nelson.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language