[5570] in java-interest

home help back first fref pref prev next nref lref last post

Re: A Question of Semantics

daemon@ATHENA.MIT.EDU (Pat Niemeyer)
Sat Feb 17 07:44:39 1996

Date: Sat, 17 Feb 1996 05:27:59 -0600 (CST)
From: Pat Niemeyer <pat@icon-stl.net>
To: Mike Afergan <mikea@ai.mit.edu>
cc: java-interest@java.sun.com
In-Reply-To: <199602162120.NAA24783@java0.javasoft.com>


On Fri, 16 Feb 1996, Mike Afergan wrote:

> 	If I create an instance of a class inside another class (i.e.)
> 
> 	class foo {
> 		Bar instance1;
> .		...
> 	}
> 
> 	can instance1 be referred to as a "variable" or must it remain "an
> instance of a class"?

What you have declared is a reference, or a "class type reference variable"
of type Bar.



Pat
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post