🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: interfaces

#14667
From: Tor Iver Wilhelmsen
Date: Thu, 12 Aug 1999 00:00
13 lines
715 bytes
ngumba nyika <nyix@softhome.net> writes:

> If i have a class A and a class B and b DOES NOT extend Class A , then
> HOW can i use the methods in class A , in class B?

Static methods:

  A.theMethod();

Instance methods:

  A a = new A();
  a.theMethod();
Technical Details
Message-ID: <u7ln172br.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37B28A7E.6960EF84@softhome.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,fbfe56accd78da8
X-Google-Attributes: gidf74b3,public
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Subject: Re: interfaces
Date: 1999/08/12
Message-ID: <u7ln172br.fsf@sds.no>
X-Deja-AN: 511795465
Sender: towi@SDSA1761
References: <37B28A7E.6960EF84@softhome.net>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language