🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Why are methods final?

#3095
From: bill
Date: Fri, 01 May 1998 00:00
11 lines
791 bytes
Hi Foks,

I wanted to subclass java.util.Vector so that my vector would throw
events when an element was inserted or deleted. Not easily done. The
insert and remove methods in Vector are final and cant be overridden.
I'll find a workaround, but why are the above methods defined as final ?

Thanks,

Bill.
Technical Details
Message-ID: <3549CE7D.1BA40EB4@xsite.net>
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,bf5509b9ebccfe15,start
X-Google-Attributes: gid1089d0,public
From: bill <bwinspur@xsite.net>
Subject: Why are methods final?
Date: 1998/05/01
Message-ID: <3549CE7D.1BA40EB4@xsite.net>
X-Deja-AN: 349301706
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.api