Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #28243

Re: vocabulary

From markspace <markspace@nospam.nospam>
Newsgroups comp.lang.java.programmer
Subject Re: vocabulary
Date 2014-04-26 21:25 -0700
Organization A noiseless patient Spider
Message-ID <lji0rq$qsv$1@dont-email.me> (permalink)
References <8l0pl95jubrn24j0tgnqcc21arhkii83ko@4ax.com>

Show all headers | View raw


On 4/26/2014 9:09 PM, Roedy Green wrote:
> Is there a word that means "class or interface"?
>

It depends on context I think, but "type" might work.  Classes and 
interfaces in Java are most often used to implement new types. 
"Super-type" and "sub-type" work to describe relationships between 
classes and interfaces.

Java is kind of weird too that it explicitly has an interface type.  C++ 
uses pure virtual classes instead of "interfaces", so in that language 
they are all classes.  It wouldn't be wrong to call an interface a class 
in Java.  You can have a class object that is an interface, right?  So 
interface is a sub-type of a class, a specific type of class with no 
method implementations.

Classes can be abstract too, which is sort of like an interface, 
although some methods now may have an implementation.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

vocabulary Roedy Green <see_website@mindprod.com.invalid> - 2014-04-26 21:09 -0700
  Re: vocabulary markspace <markspace@nospam.nospam> - 2014-04-26 21:25 -0700
    Re: vocabulary "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-04-27 17:30 +1000
  Re: vocabulary Richard Maher <maher_rjSPAMLESS@hotmail.com> - 2014-04-27 14:42 +0800
  Re: vocabulary Marcel Müller <news.5.maazl@spamgourmet.org> - 2014-04-27 08:59 +0200
    Re: vocabulary "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-04-27 17:33 +1000
      Re: vocabulary Marcel Müller <news.5.maazl@spamgourmet.org> - 2014-04-27 12:21 +0200
        Re: vocabulary "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-04-27 20:23 +1000
          Re: vocabulary Roedy Green <see_website@mindprod.com.invalid> - 2014-04-27 12:52 -0700
            Re: vocabulary Martin Gregorie <martin@address-in-sig.invalid> - 2014-04-27 22:30 +0000
              Re: vocabulary Marcel Müller <news.5.maazl@spamgourmet.org> - 2014-04-28 08:23 +0200
              Re: vocabulary "Chris Uppal" <chris.uppal@metagnostic.REMOVE-THIS.org> - 2014-05-04 13:00 +0100
                Re: vocabulary Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-05-04 08:44 -0400
  Re: vocabulary lipska the kat <lipskathekat@example.com> - 2014-04-27 09:01 +0100
    Re: vocabulary "Qu0ll" <Qu0llSixFour@gmail.com> - 2014-04-27 19:53 +1000
      Re: vocabulary lipska the kat <lipskathekat@example.com> - 2014-04-27 11:43 +0100
  Re: vocabulary Jeff Higgins <jeff@invalid.invalid> - 2014-04-27 07:14 -0400
  Re: vocabulary Jeff Higgins <jeff@invalid.invalid> - 2014-04-27 07:32 -0400

csiph-web