🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #881

Interfaces Why?

#881
From: Alan
Date: Fri, 14 Apr 2000 00:00
13 lines
893 bytes
Hi

Can some one tell me why & when you would use an interface?

I know how to write one and how to upcast from the concrete class
to the interface, I just can't see why you want to do this.

is to protect the other methods?
are they more "light weight"?

Thanks

Alan
Technical Details
Message-ID: <t4uJ4.4977$5D.10797@ozemail.com.au>
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: 10d6db,129fca08133b7b2e,start
X-Google-Attributes: gid10d6db,public
From: "Alan" <aboldock@camtech.net.au>
Subject: Interfaces Why?
Date: 2000/04/14
Message-ID: <t4uJ4.4977$5D.10797@ozemail.com.au>
X-Deja-AN: 610914070
Distribution: world
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Trace: ozemail.com.au 955674009 203.38.172.93 (Fri, 14 Apr 2000 11:00:09 EST)
Organization: OzEmail Pty Ltd, Australia
X-MSMail-Priority: Normal
NNTP-Posting-Date: Fri, 14 Apr 2000 11:00:09 EST
Newsgroups: aus.computers.java