Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #37614 > unrolled thread
| Started by | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| First post | 2017-10-30 18:14 -0400 |
| Last post | 2017-10-30 18:14 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.java.programmer
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: A name and its relation with two types Eric Sosman <esosman@comcast-dot-net.invalid> - 2017-10-30 18:14 -0400
| From | Eric Sosman <esosman@comcast-dot-net.invalid> |
|---|---|
| Date | 2017-10-30 18:14 -0400 |
| Subject | Re: A name and its relation with two types |
| Message-ID | <ot887a$poo$1@dont-email.me> |
On 10/30/2017 5:53 PM, Stefan Ram wrote:
> The field »java.lang.System.out« has a tight relation with
> two types: »java.lang.System« (as »java.lang.System.out« is
> a field of »java.lang.System«) and »java.io.PrintStream«
> (which is the type of the expressions »java.lang.System.out«).
>
> Can someone help me to find appropriate and clear words for
> the ellipses in the following two sentences?
>
> »java.lang.System« is the ... of »java.lang.System.out«.
> »java.io.PrintStream« is the ... of »java.lang.System.out«.
How about "class containing" and "type of", respectively?
... but I'm not sure it's worth a whole lot of fuss. I can't
see any difference between your example and
package circus;
class Clown {
public static String name = "Bozo";
}
»circus.Clown is the class containing circus.Clown.name«.
»java.lang.String is the type of circus.Clown.name«.
... which seems so perfectly ordinary and obvious as not to merit
a whole lot of commentary. YMMV.
--
esosman@comcast-dot-net.invalid
Eleven hundred seventy-eight days to go.
Back to top | Article view | comp.lang.java.programmer
csiph-web