[5614] in java-interest
Re: A Question of Semantics
daemon@ATHENA.MIT.EDU (Siju Nair)
Mon Feb 19 07:45:34 1996
Date: Mon, 19 Feb 1996 17:03:36 +0000 (GMT)
From: Siju Nair <nair@BITS.soft.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"?
>
> -- Mike
Hello Mike,
I think if you declare an instance of a class in another class
then it will be a variable of the class since class is nothing but user
defined data types. I hope Iam clear but if your question was something
else then please do let me know
> > >
Bye
H.Siju
_______________________________________________________________________________
Official Address : Residence Address :
Distance Learning Programmes Division BF 1-C,New Bachealor Qtrs
Birla Institute of Technology & Science BITS,Pilani
Pilani, Rajasthan 333 031 Rajasthan 333 031
India India
Phone : 91-01596-42210
_______________________________________________________________________________
" Begin a Work to Finish it "
-------------------------------------------------------------------------------
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com