[1794] in java-interest

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

Re: linked list w/o references or ptrs?

daemon@ATHENA.MIT.EDU (Arthur van Hoff)
Sun Sep 17 00:48:08 1995

Date: Sat, 16 Sep 1995 12:11:13 -0800 (PDT)
From: Arthur van Hoff <Arthur.Vanhoff@Eng.Sun.COM>
Reply-To: Arthur van Hoff <Arthur.Vanhoff@Eng.Sun.COM>
To: John Barton <jjb@watson.ibm.com>
Cc: java-interest@java.Eng.Sun.COM



HiJ ohn,

>  In code I have seen it looks like every java variable *is*
> a pointer.  Isn't this true:
>         java    ->    C/C++
>         ----          ---
>          X x;         X *x;
>          x.f();       x->f();

Yes, and:

	   a[0][0]	**a
	   a[i++]	*a++
	   error	(char *)12345
	   error	&a

Have fun,

	Arthur van Hoff

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

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