Article View: borland.public.jbuilder.java.language
Article #17609Re: implements and extends keywords
From: Steve Schafer (TeamB)
Date: Tue, 27 Oct 1998 00:00
Date: Tue, 27 Oct 1998 00:00
16 lines
918 bytes
918 bytes
On Mon, 26 Oct 1998 18:52:22 -0500, "Jennifer S. Crawford"
<jenscrawford@hotmail.com> wrote:
>Is it possible to define a class that both implements interfaces *and*
>extends other classes? How do I declare this?
Sure:
import java.awt.*;
import java.applet.*;
public class Foo extends Frame implements AppletContext {
...
}
-Steve
Technical Details
Message-ID:
<363c263e.96416388@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<713217$7sp20@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,205046bf4612b8db X-Google-Attributes: gidf74b3,public From: pandeng@telepath.com (Steve Schafer (TeamB)) Subject: Re: implements and extends keywords Date: 1998/10/27 Message-ID: <363c263e.96416388@forums.borland.com> X-Deja-AN: 405396028 Content-Transfer-Encoding: 7bit References: <713217$7sp20@forums.borland.com> Content-Type: text/plain; charset=us-ascii Organization: TeamB Mime-Version: 1.0 Reply-To: pandeng@telepath.com Newsgroups: borland.public.jbuilder.java.language